[pyngl-talk] Plotting gridlines

Jagdish Prajapati jagdish.aug1991 at gmail.com
Wed Feb 10 05:52:26 MST 2021


Dear all,
I am making a plot for cross-section at Lat 7.4 and using the following
resources but it does not serve my purpose
wres.cnLineLabelsOn  =  False             #-- turn off line labels
wres.cnInfoLabelOn   =  False             #-- turn off info label
wres.trXMinF         = 83.5
wres.trXMaxF         = 90.5
wres.trGridType      = "LogLin"
wres.sfXArray        =  lon              #-- scalar field x
wres.sfYArray        =  lev               #-- scalar field y
wres.trYReverse      = True          #-- reverse the Y axis
wres.nglXAxisType    = "LinearAxis"
wres.nglYAxisType    = "LogAxis"
wres.tmXBOn          = True
wres.tmXBLabelsOn    = True
wres.tmXBMode        = "Explicit"
wres.tmYLValues      = [84.,85.,86.,87.,88.,99.,90.]
wres.tmYLLabels      = ["84","85","86","87","88","89","90"]
wres.tmXMajorGrid    = True
wres.tmXMajorGridLineDashPattern = 4
wres.tmXMajorGridThicknessF  = 1.0
wres.tmYLOn          = True
wres.tmYLLabelsOn    = True
wres.tmYLMode        = "Explicit"
wres.tmXBValues      = [100.,200.,300.,400.,500.,600.,700.,800.,900.,1000.]
wres.tmXBLabels      =
["100","200","300","400","500","600","700","800","900","1000"]
wres.tmYMajorGrid    = True
Running the program with these resources yields the following error
warning:tmXBLabels is not a valid resource in contour.PlotManager at this
time
warning:tmXBMode is not a valid resource in contour.PlotManager at this time
warning:tmXBValues is not a valid resource in contour.PlotManager at this
time
warning:tmYLLabels is not a valid resource in contour.PlotManager at this
time
warning:tmYLMode is not a valid resource in contour.PlotManager at this time
warning:tmYLValues is not a valid resource in contour.PlotManager at this
time
warning:tmEqualizeXYSizes is not a valid resource in contour.PlotManager at
this time
warning:tmEqualizeXYSizes is not a valid resource in vector.PlotManager at
this time
Any help from someone could be very beneficial for me.

Thanks
Jagdish



-- 

*-----------------------------------------------------------------------------------------------------With
best regards*
*Dr. Jagdish Prajapati (**डॉ जगदीश प्रजापति**)*
Project Scientist-B (परियोजना वैज्ञानिक-बी)
Numerical Weather Prediction Division (संख्यात्मक मौसम पूर्वानुमान प्रभाग)
India Meteorological Department (भारत मौसम विज्ञान विभाग )
Ministry of Earth Science (पृथ्वी विज्ञान मन्त्रालय)
New Delhi (नई दिल्ली ) - 110003
Email : jagdish.aug1991 at gmail.com
            jagdish.prajapati at imd.gov.in
Phone -  91-11-43824329 (Work)
              91-9450604297 (Mobile)
              91-9106934801 (Alternate)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20210210/bf8d0403/attachment.html>


More information about the pyngl-talk mailing list