BookmarkSubscribeRSS Feed
MaxP
Calcite | Level 5
I think the sgplot output looks far lower resolution than the gplot, and is there any way to annotate them?
DanH_sas
SAS Super FREQ
You can turn up the resolution by using the IMAGE_DPI and DPI options. For RTF, use IMAGE_DPI and for PRINTER, use DPI. Here is a 300dpi example:

[pre]
ods pdf dpi=300;
proc sgplot data=sashelp.class ;
scatter y=height x=weight / markerattrs=(symbol=circlefilled size=40px);
run;
proc sgplot data=sashelp.class ;
scatter y=height x=weight / markerattrs=(symbol=circlefilled size=3px);
run;
ods pdf close ;
[/pre]
MaxP
Calcite | Level 5
Hi all,

I finally have a workable solution combined from two different replies! The really simple DPI= option made my small dots much better, but my big dots were still too polygonal. For that I used the custom font (which is really cool, and I never knew about before), where 720 .5 degree turns were actually better than 360 single degrees or 4 arcs. Thanks for all the help, especially DanH and ArtC!

-Max
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 17 replies
  • 4095 views
  • 0 likes
  • 6 in conversation