Re: non color skew T for publication (Solution!!)

From: <adams_at_nyahnyahspammersnyahnyah>
Date: Tue, 11 Dec 2007 16:40:33 -0300 (BRT)

Boa Tarde Dennis and NCLers,
I found a way to make nice black and white plots for the skewT.

The colormap should be gsdtol, not gsltod:
  wks = gsn_open_wks ("ps", "test")
  gsn_define_colormap(wks,"gsdtol")

and then setting the line color option as follows gives nice strong black
lines over a white and gray background inside the skewT and a white
background over which black wind barbs are plotted.

;*****************************************************************
; First sounding
;*****************************************************************
  dataOpts_at_colTemperature = "black"
  dataOpts_at_colDewPt = dataOpts_at_colTemperature
  skewt_data = skewT_PlotData (wks, skewt_bkgd, p,tc,tdc,z \
                                    , wspd,wdir, dataOpts)
  draw (skewt_data)

;*****************************************************************
; Second sounding [bogus data: original altered slightly]
;*****************************************************************

  dataOpts_at_xpWind = 40. ; new location for winds [default 45]
  dataOpts_at_colTemperature = "black"
  dataOpts_at_colDewPt = dataOpts_at_colTemperature
  dataOpts_at_colWindP = dataOpts_at_colTemperature
  dataOpts_at_linePatternDewPt = 2
  dataOpts_at_linePatternTemperature = 2
  skewt_data = skewT_PlotData (wks, skewt_bkgd, p2,tc2,tdc2,z2 \
                                    , wspd2,wdir2, dataOpts)

  draw (skewt_data)
  frame(wks)

cumprimentos desde Manaus,
Dave

> I am not sure the following will work but:
>
> wks = gsn_open_wks ("ps", "skewt")
> gsn_define_colormap(wks,"gsltod")
>
> prior to invoking the skewt functions may work.
> Let us know.
>
> Good Luck
>
>
>
> adams_at_dca.ufcg.edu.br wrote:
>> Hi group,
>> How can I make the color scheme in skewt.ncl in to gray
>> scales for publication?
>> A related question, how do you like for NCL to be
>> indicated as the graphics package used in creating the graphics?
>> In the acknowledgements?
>>
>> Obrigadao,
>> Dave
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Dec 11 2007 - 12:40:33 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 11 2007 - 14:19:21 MST