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;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1027 views
  • 0 likes
  • 2 in conversation