Contour labels

From: MUHTARJAN osman <muhterjan_at_nyahnyahspammersnyahnyah>
Date: Mon, 13 Feb 2006 17:07:25 -0800

Hello-

  I want to put contour lable to every single line. I tried by setting
"res3_at_cnLineLabelInterval = 1", it seems not working. Also, the NCL
gave me some warning messeges like these:

"warning:mpFillOn is not a valid resource in
FS20-101slpda_olrda_Kiladias0dLag_contour at this time
warning:gsnContourZeroLineThicknessF is not a valid resource in
FS20-101slpda_olrda_Kiladias0dLag_contour at this time
warning:gsnContourNegLineDashPattern is not a valid resource in
FS20-101slpda_olrda_Kiladias0dLag_contour at this time"

Here is a portion of me program:

  res3 = True
  res3_at_cnLevelSelectionMode = "ManualLevels"
  res3_at_cnLevelSpacingF = 0.1
  res3_at_mpFillOn = False
  res3_at_gsnDraw = False ; Do not draw plot
  res3_at_gsnFrame = False ; Do not advance frome
; res3_at_cnLineLabelPlacementMode = "constant"
  res3_at_cnLineLabelInterval = 1
  res3_at_gsnContourZeroLineThicknessF = 0
  res3_at_gsnContourNegLineDashPattern = 1
  res3_at_cnInfoLabelOrthogonalPosF = -0.07
  res3_at_cnLabelMasking = True
  res3_at_cnLineLabelDensityF = 1.5

  res4 = True
  res4_at_mpCenterLonF = 180.
  res4_at_gsnDraw = False
  res4_at_gsnFrame = False
  res4_at_mpFillOn = False
  res4_at_lbLabelBarOn = False
  res4_at_cnFillOn = True
  res4_at_cnLinesOn = False
  res4_at_cnLineLabelsOn = False
  res4_at_cnInfoLabelOn = False ; turn off info label
  res4_at_cnFillColors = (/"sky blue","transparent","pink"/)
  res4_at_cnLevelSelectionMode= "ExplicitLevels"
  res4_at_cnLevels = (/-0.99,0.99/)
  res4_at_tiMainString = "Regressed OLRda(norm.)"+lag+"days Lag"
  res4_at_gsnCenterString = "JJA 1% Sign.Lvl"
  res4_at_gsnLeftString = " "
  res4_at_cnFillDrawOrder = "Predraw" ; areas before map gets

......

  plot = gsn_csm_contour_map_overlay(wks,prob,\
                                     yReg,res4,res3)

  Any comment will be appreciated. Thanks a lot!

Regards,

Muhtarjan Osman
ASGG
LAWR
UC Davis

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Feb 13 2006 - 18:07:25 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 15 2006 - 21:20:26 MST