Fwd: quick question about color

From: mark vogel <mdvogelii_at_nyahnyahspammersnyahnyah>
Date: Tue Jan 10 2012 - 17:04:27 MST

 Dear all
I would like to swith the color. I want the dark color for high values in
Greyscale (gsdtol).
How can I do that?

I want the more beautiful picture. I try all gray scales that ncl have but
they does not look good.

Anyone has a good suggestion for me please
Mark

; create color plot
;=============================================
  wks = gsn_open_wks ("ps", "diffhov_latusgs_gem3" ) ; open ps
file
  gsn_define_colormap(wks,"gsdtol") ; choose colormap
  res = True ; plot mods desired
  res@cnFillOn = True ; turn on color fill
  res@gsnSpreadColors = True ; use full range of colors
  res@tiMainString = "W (m s-1) USGS-GEM" ;
  res@tiXAxisString = "longitude"
  res@cnLevelSelectionMode = "ManualLevels" ; manual contour levels
  res@cnMinLevelValF = 0. ; min level
  res@cnMaxLevelValF = 10. ; max level
  res@cnLevelSpacingF = 2. ; contour level spacing
   res@trYMaxF = 54 ; axis max
   res@trYMinF = 0
   res@tiYAxisString = "Time" ; axis string
  res@tiXAxisString = "Longitude" ; Time@units ; label bottom axis
with units
  plot = gsn_csm_hov(wks, wind2, res)

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

diff_hov.jpg
Received on Tue Jan 10 17:04:47 2012

This archive was generated by hypermail 2.1.8 : Wed Jan 18 2012 - 09:21:55 MST