[ncl-talk] create string array

Tabish Ansari tabishumaransari at gmail.com
Sat Dec 12 17:52:06 MST 2015


Hi

I am trying to use a string array inside an XY plot. This is to represent
time on the x-axis. I am using the following line:

a =
new((/"0530","0730","0930","1130","1330","1530","1730","1930","2130","2330","0130","0330"/),string)

However, I am getting this error message:


*fatal:New: the dimension size parameter is the wrong type an integer value
was expected*
What am I doing wrong here?


Thanks in advance!

Tabish

Tabish U Ansari
PhD student, Lancaster Environment Center
Lancaster Univeristy
Bailrigg, Lancaster,
LA1 4YW, United Kingdom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151213/be48e23a/attachment.html 


More information about the ncl-talk mailing list