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

Hi,

 

I am trying to draw a graph using sgplot. but why my graph in output doesn't shown datasymbols? Here is my code:

 

proc sgplot data= plt nowall noborder;
 styleattrs datacontrastcolors=(blue red mediumgreen magenta orange lilac)
             datasymbols=(circlefilled squarefilled trianglefilled  triangleDownfilled DiamondFilled circle square)
             datalinepatterns=(solid);
	title height=.22in font ="Arial" 'PLT';
   series x=days y = result /
   group = patient groupdisplay=cluster clusterwidth=0.5
         lineattrs=(thickness=3) markers markerattrs=(size=11);
	xaxis label='Time (Days)' values = (0 to 60 by 5) offsetmin=0.003
labelattrs = (Family=Arial size = 12 weight = bold) valueattrs = (Family=Arial size = 12 weight = bold);
	yaxis label="PLT  K/uL" values = (0 to 700 by 100) offsetmin=0 labelattrs = (Family=Arial size = 12 weight = bold) 
valueattrs = (Family=Arial size = 12  weight = bold);
	keylegend / titleattrs = (size = 8 ) valueattrs=(Family=Arial size = 12 weight=bold) 
position = right noborder title="" linelength=0.5cm;
run;

Here is my graph in output:

 

SGPlot.png

 

 
1 ACCEPTED SOLUTION

Accepted Solutions
WarrenKuhfeld
Rhodochrosite | Level 12

Put ATTRPRIORITY=NONE on your ODS destination statement.

View solution in original post

3 REPLIES 3
WarrenKuhfeld
Rhodochrosite | Level 12

Put ATTRPRIORITY=NONE on your ODS destination statement.

echoli
Obsidian | Level 7

Yes! That works!!! Thanks so much!

sas-innovate-2024.png

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.

 

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.

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
  • 3 replies
  • 1024 views
  • 2 likes
  • 2 in conversation