BookmarkSubscribeRSS Feed
NeilSmith
Fluorite | Level 6
 
6 REPLIES 6
ballardw
Super User

Please post code as text, preferably in a code box opened on the forum with either the </> or "running man" icons.

 

Your PDF shows an error on attempting to open, so can't say anything about any of the contents.

 

XAXIS and YAXIS statements control appearance of axis. The option Display=NONE should suppress most of the axis appearance. Example:

proc sgplot data=sashelp.class;
   scatter x=height y=weight;
   xaxis display=none;
   yaxis display=none;
run;

You should have access to the sashelp.class data set and can run that code and see the result.

 

Without an image or code there is no way to reference what a "red" or "swirly line" might be. If you set the ODS STYLE to Journal, or one of the others in that group, the output will be black, white or grayscale.

NeilSmith
Fluorite | Level 6

Thank!

PGStats
Opal | Level 21

For the color, you should try adding option fillattrs=(color=gray55) to the polygon statement.

PG
PGStats
Opal | Level 21

And for line thickness, try option lineattrs=(thickness=5)

PG
NeilSmith
Fluorite | Level 6
 
PGStats
Opal | Level 21

Play with this:

 

proc sgplot data=side aspect=1 noborder noautolegend;
         polygon x=x y=y id=degree / fill outline
         colorresponse=color colormodel=(gray00 gray55 graydd) lineattrs=(thickness=5);
         xaxis display=none;
         yaxis display=none;
run;

image.png

PG

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 6 replies
  • 649 views
  • 2 likes
  • 3 in conversation