BookmarkSubscribeRSS Feed
tbardsley
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!! 

2 REPLIES 2
ballardw
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.

tbardsley
Calcite | Level 5

thanks for the reply!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1276 views
  • 0 likes
  • 2 in conversation