Data visualization with SAS programming

data symbles doesn't shown in sgplot

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 84
Accepted Solution

data symbles doesn't shown in sgplot

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

 

 

Accepted Solutions
Solution
‎10-30-2017 01:28 PM
SAS Super FREQ
Posts: 496

Re: data symbles doesn't shown in sgplot

Put ATTRPRIORITY=NONE on your ODS destination statement.

View solution in original post


All Replies
Solution
‎10-30-2017 01:28 PM
SAS Super FREQ
Posts: 496

Re: data symbles doesn't shown in sgplot

Put ATTRPRIORITY=NONE on your ODS destination statement.

Frequent Contributor
Posts: 84

Re: data symbles doesn't shown in sgplot

Posted in reply to WarrenKuhfeld

Yes! That works!!! Thanks so much!

SAS Super FREQ
Posts: 496
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 138 views
  • 2 likes
  • 2 in conversation