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!
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
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.
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
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.
Ready to level-up your skills? Choose your own adventure.