[ncl-talk] SKEW-T line colors
Ioana Colfescu
ioana.colfescu at ncas.ac.uk
Mon Apr 16 09:47:04 MDT 2018
Hi again,
I found the options to change that in the same script in :
if (localOpts at DrawIsobar) then
gsOpts = True
gsOpts at gsLineDashPattern = 0 ; solid
gsOpts at gsLineColor = colTan
gsOpts at gsLineThicknessF = 3.5
;gsOpts at gsLineLabelFontColor = colTan
;gsOpts at gsLineLabelFontHeightF = 0.0125
Thanks,
Ioana
*Ioana Colfescu *
Research Scientist
National Centre for Atmospheric Science
School of Earth and Environment
University of Leeds
On 16 April 2018 at 16:44, Ioana Colfescu <ioana.colfescu at ncas.ac.uk> wrote:
> Thanks very much Adam.
> One more question - is there a way to have different colours for the
> Isobars and Isotherms ?
> I see they seem to be both the same in color and if I change that they all
> change ( except the green for the adaiabats etc) in
> ncarg/nclscripts/csm/skewt_func.ncl .
> Thanks very much,
> Ioana
>
> *Ioana Colfescu *
> Research Scientist
> National Centre for Atmospheric Science
> School of Earth and Environment
> University of Leeds
>
>
> On 13 April 2018 at 19:50, Adam Phillips <asphilli at ucar.edu> wrote:
>
>> Hi Ioana,
>> There is not a built in option so that the user can change the Isotherms
>> in the Skew-T background interface. You can change it however, but
>> copying $NCARG_ROOT/lib/ncarg/nclscripts/csm/skewt_func.ncl locally, and
>> altering line 248 of your local copy from this:
>> colTan = "Tan"
>> to this:
>> colTan = "Orange"
>>
>> Hope that helps!
>> Adam
>>
>> On Fri, Apr 13, 2018 at 11:33 AM, Ioana Colfescu <
>> ioana.colfescu at ncas.ac.uk> wrote:
>>
>>> Hi,
>>> I'm plotting a basic Skew-T background isotherms by doing.
>>> skewtOpts at DrawIsotherm = True
>>> (and setting the rest of the options to False).
>>>
>>> I'm then trying to change the color of the isotherms (default black) by
>>> doing:
>>>
>>> skewtOpts at colTemperature = "orange"
>>> or
>>> skewtOpts at lineColorTemperature = "blue"
>>>
>>> Neither of the options changes the colors.
>>>
>>> Can someone tell me how can I change the color of the isotherms in the
>>> Skew-T background function /what's the option I have to use for it ? What
>>> about changing the color of the other lines like Isobars, MoistAdiabats etc
>>> ?
>>>
>>> Thanks,
>>> Ioana
>>>
>>>
>>>
>>> *Ioana Colfescu *
>>> Research Scientist
>>> National Centre for Atmospheric Science
>>> School of Earth and Environment
>>> University of Leeds
>>>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>>
>> --
>> Adam Phillips
>> Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
>> www.cgd.ucar.edu/staff/asphilli/ 303-497-1726
>>
>> <http://www.cgd.ucar.edu/staff/asphilli>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180416/715df0b9/attachment.html>
More information about the ncl-talk
mailing list