BookmarkSubscribeRSS Feed
Garnett
Obsidian | Level 7

Greetings!

 

My goal is a panel plot with distinct y-axis scaling for each panel.

 

-I can do this with LAYOUT LATTICE and a macro to create each panel, but this seems inefficient.

-I can create a LAYOUT DATAPANEL with one column and several rows, then COLUMNDATARANGE=, but this is unwieldy for the viewer with more than three panels.

 

Can I create this plot in conjunction with LAYOUT DATAPANEL?

Is there a non-GTL solution?

 

Thanks in advance!

1 REPLY 1
ballardw
Super User

Not much detail, such as just how many panels you envision or what goes in them, i.e number of variables or type of plots.

 

There is an example program in the example for LAYOUT DATAPANEL that has 3 rows of graphs with 4 in each row and each row has a separate y-axis scale by using the ROWDATARANGE=UNION

 

Proc SGPANEL might work. Set the Panel BY to have a single column and then set UNISCALE=Column. Then each row has it's own y-axis scale.

sas-innovate-2024.png

 

Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 330 views
  • 0 likes
  • 2 in conversation