BookmarkSubscribeRSS Feed
Calcite | Level 5

In proc sgpanel, i have made a lattice of plots, 7 rows and 4 columns.  I would like all of the rows but one to have the same y-axis values.  Is there a way to define the y-axis row by row?  When I let SAS decide the axis values automatically, 6 out of the 7 rows have similar but differing axis values.  i want to make these uniform, but then allow the 7th row to have a very different set of axis values.  thank you in advance for any help!! 

Super User

You are likely better off doing the six similar ones in SGPANEL with a common rowaxis and then do the other value in a separate plot where you would get a different row axis.

If the rows reflect a common variable then use a WHERE statement to select the values of the variable for the six similar ones. Then in a separate SGPanel a different where to select only the single value. Adjust the row/ column lattice structure to match in the panel by.

Calcite | Level 5

thanks for the reply!



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. 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 2 in conversation