BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Unicorn32
Calcite | Level 5

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:

Knipsel.PNG

I'm open to a gui or code solution both.

 

Thanks for helping:)

 

1 ACCEPTED SOLUTION

Accepted Solutions
TomKari
Onyx | Level 15

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;

View solution in original post

1 REPLY 1
TomKari
Onyx | Level 15

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;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

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.

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