I wanted to see if there was anything new about changing the aspect ratio of the cell within SGPLOT. I know you can set the width and height in the template or by using the ODS GRAPHICS statement. As you know, though, that is for the entire output area. It does not give the same graph aspect ratio when there is a legend and when there's not, for example.
Is there a way to specifically set the width and height of the cell in SGPLOT.
I do not know of how to specify an exact height and width, but there are the OFFSETMIN= and OFFSETMAX= options for the XAXIS and YAXIS statements, they allow you to controll how much space is used for the plotting, find a sample code below that illustrates this:
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.