Re: colors for specified areas

From: Mateus Teixeira <mateus.teixeira_at_nyahnyahspammersnyahnyah>
Date: Thu, 3 Sep 2009 14:17:25 -0300

Thank you so much Mary,

I only changed from where the number of specified areas is get, like

res_at_mpSpecifiedFillColors = new(
dimsizes(res_at_mpFillAreaSpecifiers), string )

Best regards,

Mateus

2009/9/3 Mary Haley <haley_at_ucar.edu>:
>
> I don't think there's a way to do this. I tried using just
> one color to see if it would propagate to the rest of the specified areas,
> but instead, it uses some internal coloring
> scheme to do the rest.
>
> I think what you need to do, assuming you have an array of
> your listed areas (say "fill_areas"):
>
> res_at_mpSpecifiedFillColors = new(dimsizes(fill_areas),integer)
> res_at_mpSpecifiedFillColors(:) = 3 ; or whatever desired color index
>
> You can also do a named color:
>
> res_at_mpSpecifiedFillColors = new(dimsizes(fill_areas),string)
> res_at_mpSpecifiedFillColors(:) = "red"
>
>
> --Mary
>
> On Thu, 3 Sep 2009, Mateus Teixeira wrote:
>
>> Dear NCL users,
>>
>> Is there a way to specify directly one single color for all specified
>> areas in a map plot?
>> I only find mpSpecifiedFillColors in which I have to specify the
>> colors one by one.
>>
>> Best regards,
>>
>>
>> --
>> Mateus da Silva Teixeira
>>
>> Registered Linux User #466740
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>

-- 
Mateus da Silva Teixeira
Registered Linux User #466740
Received on Thu Sep 03 2009 - 11:17:25 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 03 2009 - 21:03:38 MDT