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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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