Hi,
I'm trying to create a multiple lines plot (one per group ID) containing values for three variables over a period of time.
I have time on my x axis and the three variables on the y axis. I want to crop my y axis to -50 to 50 for all my plots. My data has weird outliers in it and I don't want to lose resolution around 0, and also don't want to remove the outliers for reasons.
My data looks as follows:
I'm open to a gui or code solution both.
Thanks for helping:)
The more I learn about PROC SGPLOT, the more I like it!
Tom
proc sgplot;
series x=InDate y=Y1;
series x=InDate y=Y2;
series x=InDate y=Y3;
yaxis min=-50 max=50;
run;
The more I learn about PROC SGPLOT, the more I like it!
Tom
proc sgplot;
series x=InDate y=Y1;
series x=InDate y=Y2;
series x=InDate y=Y3;
yaxis min=-50 max=50;
run;
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.