Data visualization with SAS programming

Exclude values from Legend

Reply
Contributor
Posts: 37

Exclude values from Legend

 

Is there a way to exclude certain values from legend in proc sgplot ? I am using 9.4 M2.

 

Grand Advisor
Posts: 17,332

Re: Exclude values from Legend

No, it exists in 9.4 M3 with the EXCLUDE option.

 

However, you can explicitly list the values you do want in the legend. See the answers here which still apply to your situation.

 

https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/legend-in-sgplot/td-p/68656

Ask a Question
Discussion stats
  • 1 reply
  • 93 views
  • 0 likes
  • 2 in conversation