BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BruceBrad
Lapis Lazuli | Level 10

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.

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

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.

View solution in original post

2 REPLIES 2
ballardw
Super User

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.

BruceBrad
Lapis Lazuli | Level 10

Thanks. Hadn't looked at sgplot before, but it does seem to have more sensible default values.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 823 views
  • 0 likes
  • 2 in conversation