BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Can I fill an area above a line in an gplot? Everything I see in the manual shows filling the area below the line
1 REPLY 1
DanH_sas
SAS Super FREQ
Yes, you can. The trick is ask for two areas and set the first color to be the same as the background. Here is an example:

pattern1 c=white;
pattern2 c=blue;
symbol i=join;

proc gplot data=sashelp.class;
plot height*name / areas=2;
run;

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 919 views
  • 0 likes
  • 2 in conversation