BookmarkSubscribeRSS Feed
dmfang84
Calcite | Level 5

I tried to plot 2 rows and 5 columns of figures with proc template (datalattice). However, the problem is that the xaxis of the two rows have different ranges, so that the figures with smaller xaxis range  can not be clear displayed. Is there any solution to fix the prolem? Thank you very much!

SGRender9.png
3 REPLIES 3
DanH_sas
SAS Super FREQ

On the LAYOUT LATTICE statement, specify COLUMNDATARANGE=UNIONALL, which will union the axes across all columns. You can do the same for rows (ROWDATARANGE=UNIONALL).

 

Hope this helps!

Dan

dmfang84
Calcite | Level 5

Thank you. But it can not fix the problem. The first row ranges from 0 to 50, but the second row ranges from 0 to 1. 

DanH_sas
SAS Super FREQ

If your rows are different scales, you'll only want to specify COLUMNDATARANGE=UNIONALL so that all of your X axes are unioned (not the Y). If you're still having issues, I'll need to see a picture to help you further.

 

Thanks!

Dan

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 889 views
  • 0 likes
  • 2 in conversation