some High/Low labels missing

From: Andres Roubicek (Andres.Roubicek AT XXXXXX)
Date: Wed Mar 17 2004 - 18:16:10 MST

  • Next message: Jason Evans: "HSV color wheel"


    I am using contour High/Low labels to draw a "H" and an "L" on highs and
    lows of a contour map ( I create a wind map and on it I overlay the
    streamfunction H/L labels). I include the section of the code I use
    below. The resulting plot is pretty good, except that a few labels are
    missing on very evident features. Is this to be expected for some reason
    or am I doing something wrong?

    Thank you,


       res3@cnLinesOn = False; turn off contour lines
       res3@cnLineLabelsOn = False; turn off contour line labels
       res3@cnInfoLabelOn = False; turn off contour Info Label
       res3@cnLevelSelectionMode = "ManualLevels"
       res3@cnMinLevelValF = -2.0
       res3@cnMaxLevelValF = 2.0
       res3@cnLevelSpacingF = 0.5
       res3@cnHighLabelsOn = True; label highs
       res3@cnHighLabelString = "H"; highs' label
       res3@cnHighLabelFontHeightF = 0.03; larger H labels
       res3@cnHighLabelFont = "helvetica-bold"; H labels font
       res3@cnHighLabelBackgroundColor = "Transparent"; no box
       res3@cnLowLabelsOn = True; label lows
       res3@cnLowLabelString = "L"; lows' label
       res3@cnLowLabelFontHeightF = 0.03; larger L labels
       res3@cnLowLabelFont = "helvetica-bold"; L labels font
       res3@cnLowLabelBackgroundColor = "Transparent"; no box

       res3@lbLabelBarOn = False

       plot3 = gsn_csm_contour(wks,psi, res3)

       overlay (plot, plot3)
       draw (plot)
       frame(wks) ; advance the 'frame' [go to next plot]

    ncl-talk mailing list

    This archive was generated by hypermail 2b29 : Tue Mar 23 2004 - 07:58:02 MST