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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.