Hi
I have a data file as below and would use "head" to read the first row. Could
is it possible to make the "head" ( as in the data file) become an array with 5
elements (tim, aaa,...,ddd)?
Then I would like to use each of the "elements" (e.g. bbb) to label (as legend)
each of the curves based on column. Both the data file and NCL script are
attached, can anyone give a help?
head = readAsciiHead(f, 1)
tim aaa bbb ccc ddd
1 10.14 16.83 3.44 13.94
2 16.27 27.98 4.56 17.59
3 22.38 36.23 8.53 16.31
4 34.78 46.59 22.96 33.67
5 68.35 92.07 44.63 68.28
6 172.75 203.29 142.22 159.03
7 253.34 298.81 207.87 139.43
8 228.29 258.27 198.31 246.33
9 162.52 198.27 126.77 120.17
Thanks a lot!
Mark
_______________________________________________
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 : Fri Feb 25 2011 - 08:50:46 MST