[ncl-talk] Setting X-axis for proper data plotting

Herb, Jason jherb at albany.edu
Wed Dec 2 12:38:44 MST 2020


Hello All,

I have been working with a continuous data set from late 2006 to end of 2019. I have been able to force the X-axis labeling as close as I can to get year to whole numbers, but I keep getting ".0" at the end of the year. Also, I have a plotting error in the actual data with the space containing "flat lines" between the end or one year to the start of the next. I attempted to setup another array for the year but get the following error message :

fatal:Illegal subscript. Subscripts must be integer when not using coordinate indexing
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 36 in file Basiclineplot.ncl

I have attached the plot, script and input file.
Does anyone have any suggestions to assist with this plotting issue?

Thanks,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201202/a989becc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Basiclineplot.ncl
Type: application/octet-stream
Size: 1926 bytes
Desc: Basiclineplot.ncl
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201202/a989becc/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 53018 bytes
Desc: test.png
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201202/a989becc/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tester4.test
Type: application/octet-stream
Size: 2739889 bytes
Desc: tester4.test
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201202/a989becc/attachment-0003.obj>


More information about the ncl-talk mailing list