BookmarkSubscribeRSS Feed
DocSteve
Obsidian | Level 7

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?

3 REPLIES 3
ballardw
Super User

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.

ChrisNZ
Tourmaline | Level 20

proc GPLOT does not support the CHORO statement. proc GMAP does.

 

DocSteve
Obsidian | Level 7
Sorry, you're right, it's gmap

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