BookmarkSubscribeRSS Feed
R7
Calcite | Level 5 R7
Calcite | Level 5

proc gmap choro statement is not producing different shades as it did before - what has changed or how do I get it to work again?

5 REPLIES 5
ballardw
Super User

What is the current style you are using? If you are using a mono-color style that could cause it.

Also do you have multiple values for the choro variable? If the value of the variable, or the formatted value, is all the same then there wouldn't be any color or pattern difference.

 

Also what do your pattern statememts look like if using any?

R7
Calcite | Level 5 R7
Calcite | Level 5

Choro has 3 values or 3 regions on the map.  I have not specified any style,

pattern1 v=s c=greyff;

pattern2 v=s c=greyaa;

pattern3 v=s c=greybb;

 

This worked about 1 year ago, have not used it since.

Thanks

ballardw
Super User

Try GRAYFF, you may have misspelled the colors in the SAS Gray Scale.

Darrell_sas
SAS Employee

 

Have you checked your CHORO variable to make sure it is different still?  It may have changed and be the same for all the values.

If it is the same program that you ran a year ago, then it is probably data related.

 

Beyond that, I can't tell without seeing your program.

R7
Calcite | Level 5 R7
Calcite | Level 5

Thanks Darrell for taking a look.  I found the source of the problem last night.  There was a statement that seemed to have caused the problem:

pattern value=mempty color=blue repeat=49;

When I commented it out, program worked fine.

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1016 views
  • 0 likes
  • 3 in conversation