I'm doing some exploratory plots of the form:
proc gplot;
plot v1*v2=v3;
V3 takes about 25 different values. I want to draw line plots. If I just run with the default settings I get symbols. If I add
symbol interpol=join
I get lines for the first 12 series, but just symbols for the rest.
I presume I could individually define 25 different symbol statements, but is there a quicker way? I'm after something useful for diagnostic rather than presentation purposes.
You could try
proc sgplot;
series x=v2 y=v1 /group=v3;
run;
control of line and marker appearance are quite a bit different than the traditional graphics plot and vary as new options are added to the SG procedures with each of the last few releases.
You could try
proc sgplot;
series x=v2 y=v1 /group=v3;
run;
control of line and marker appearance are quite a bit different than the traditional graphics plot and vary as new options are added to the SG procedures with each of the last few releases.
Thanks. Hadn't looked at sgplot before, but it does seem to have more sensible default values.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.