Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with grmap

    Dear All,
    I have a small problem using grmap (actually the problem arises also if I use spmap). The point is the following. I plot a map, which may contain up to four different values (better range of values). For each range I adopt a specific colour (blue pink orange red):

    blue = smallest value
    pink = medium-low
    orange = medium-high
    red = high

    Now, sometimes the map contains only three values. In that case the command uses the colours from blue to pink. And if there are only two values to display, it uses blue and pink.

    This is the command I am using (I report only the command of interest):

    Code:
    grmap msp_res_dW1000_`v', fcolor(blue pink orange red) clmethod(unique) ndl("No significant")
    My question is: Is there any way I can force Stata to use always red for high values, orange for medium-high and so on, although I have only two values to display?

    Thanks in advance.
Working...
X