I am using Proc GPLOT with the CHORO statement for mapping the number of events in counties.
I have been using defined patterns (one-color, varying density cross-hatch); the customer now wants specific groupings of the data.
I believe that to get the desired groupings I need to use a format, but when I do that and use the "discrete" option (as directed in the documentation) I lose the specified patterns and get colors instead (which the documentation seems to indicate will happen).
Is there anyway to get back to my designated patterns?
Code and data examples would be helpful. Also a complete listing of current goptions as some values there will affect how color values cycle.
And a description of what actually is wanted.
Also you may want to consider changing to Proc Sgplot as many different things are possible that were not with Gplot. One of which is an attribute map that ties specific formatted values to colors, patterns and markers.
proc GPLOT does not support the CHORO statement. proc GMAP does.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.