Hello,
I wanted to get some feedback on what I believe is a typo in an error
statement printed by DrawGrid.
I was creating an XY plot, and attempting to put major gridlines for
both the X and Y axis on the plot. At the same time, I was also
controlling whether or not tick marks were on. Here is an example:
res@tmXMajorGrid = True
res@tmYMajorGrid = True
res@tmXTOn = False
res@tmXBOn = False
res@tmYROn = False
res@tmYLOn = False
NCL says the following:
Copyright (C) 1995-2011 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
warning:DrawGrid: Either XBOn or XTOn must be set in order to draw an
XAxis grid
warning:DrawGrid: Either XBOn or XTOn must be set in order to draw an
XAxis grid
So I turned on the top tickmarks on the X axis (res@tmXYOn = True) and
NCL says this:
Copyright (C) 1995-2011 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
warning:DrawGrid: Either XBOn or XTOn must be set in order to draw an
XAxis grid
I think it would make more sense if that said:
warning:DrawGrid: Either YLOn or YROn must be set in order to draw a
YAxis grid
I've attached a script so you can play with the resources and see what
is happening. I am running NCL-6.0.0, on Linux Debian Squeeze (system
info below):
Linux 2.6.32-5-amd64 #1 SMP Thu Nov 3 03:41:26 UTC 2011 x86_64 GNU/Linux
-Dan
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.1.8 : Wed Jan 18 2012 - 09:21:55 MST