BookmarkSubscribeRSS Feed
tal83
Calcite | Level 5
Hi!
Here's my code- for the 3 values of stat_id I get 3 overlay plots.
When I run this i get an automatic legend of the 3 colors of stat_id.
I can cancel that automatic legend by creating my own legend,
BUT how can I have a graph with no legends at all?

Thanks,
Tal

proc gplot gout=hh.no_legend data=hh.jan_03_excel;
plot O3*d=stat_id /vaxis = axis2 haxis=axis1 /*LEGEND=LEGEND1*/ name="O3 January 2003.gif";
where day in (5,6,7,8,9,10,11,12);
run; quit;
3 REPLIES 3
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
How about NOLEGEND? Suggest a Google search against the SAS support website for details.

Scott Barry
SBBWorks, Inc.
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Suggested / recommended DOC reference to bookmark:

SAS/Graph Reference: Introduction to SAS/GRAPH Software
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/a000696038.htm

Scott Barry
SBBWorks, Inc.
tal83
Calcite | Level 5
Thanks!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 3 replies
  • 1430 views
  • 0 likes
  • 2 in conversation