Re: change color of the skew-T background

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 21 2013 - 16:57:22 MDT

you may have to modify the code.

[1] Make a copy of the skewT code.

[2] Open the code with an editor

[3] Search for 'gsLineColor'

You will find code sections like:

[snip]
  --- draw diagonal isotherms.
; [brown with labels interspersed at 45 degree angle]
; http://www.ncl.ucar.edu/Document/HLUs/Classes/GraphicStyle.shtml

   if (localOpts@DrawIsotherm) then
       gsOpts = True
       gsOpts@gsLineDashPattern = 0 ; solid
       gsOpts@gsLineColor = colTan
       gsOpts@gsLineThicknessF = 1.0
      ;gsOpts@gsLineLabelFontColor = colTan
      ;gsOpts@gsLineLabelFontHeightF = 0.0125
[snip]

You can change to (say)

        gsOpts@gsLineColor = "blue"

--
Continue searching for 'gsLineColor'
if (localOpts@DrawMixRatio) then
       gsOpts                   = True ; polyline [graphic style] opts
       gsOpts@gsLineThicknessF  = 1.0
       gsOpts@gsLineDashPattern = 2             ; sat mix ratio only
       gsOpts@gsLineColor       = colGreen ;      "
       txOpts                   = True
       txOpts@txAngleF          = 65.           ;      "
       txOpts@txFontColor       = colGreen ;      "
etcetera
On 8/21/13 1:12 PM, BasitAli Khan wrote:
> Hi all,
>
> I wanna change color of skew-T background e.g.  dry and moist adiabat, isotherm and mixing ratio. I would appreciate if anybody could advise as how to do this.
>
>
> Regards,
> Basit
>
> ________________________________
>
> This message and its contents including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 21 16:57:30 2013

This archive was generated by hypermail 2.1.8 : Fri Aug 30 2013 - 14:04:57 MDT