Re: reading multiple ascii Tables and plotting

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue May 29 2012 - 16:11:09 MDT

Hi Azwinndini,

I'm kind of rushed, but I tried to create a little script that reads your data. It doesn't require you to strip off the headers first.

See attached.

--Mary

On May 28, 2012, at 4:38 PM, Muronga, Azwinndini wrote:

> Dear all,
>
> I am new in NCL. I have spent the past two weeks figuring out how to start making some plots. I have 26 ascii data files. I have attached three of them for an example. The 26 files are outputs at different times. I would like to plot them in a single plot each curve representing each file (time). Then I would like to plot selected times(datafiles) on a panel. I am attaching the ncl script I have written following some of the examples from the ncl-talk archive. I would like to make. The script works (if I chop the header off by hand - since I am unable to read it off) except that becuase I have concatenated the 26 files into one big file then the curves loops also because the x-axis of each starts at the same position.
>
> Thanks in advance for any help and suggestions.
>
> Regards,
> Azwinndini
>
> ======================================================================
> A/Professor - Department of Physics, Faculty of Science
> University of Johannesburg, Auckland Park Kingsway Campus
> cnr Kingsway Ave and University Rd
> Building C1LAB, Room 235
> Auckland Park 2092, RSA
> PO Box 524, Auckland Park, 2006, RSA
> Phone (UJ-APK-Office) : +27 11 559-3028
> phone (UJ-APK-Sec) : +27 11 559-2327
> fax (UJ-APK-Sec) : +27 11 559-2339
> Director - UJ Soweto Science Centre, Faculty of Science
> University of Johannesburg, Soweto Campus
> Chris Hani Road, Pimville, Soweto
> Phone (UJ Science Centre) : +27 11 559-5745
> Fax (UJ Science Centre) : +27 11 559-5745
> Skype : AzwinndiniMuronga
> e-mail : Azwinndini.Muronga@gmail.com
> e-mail : amuronga@uj.ac.za
> ======================================================================
>
>
> This email and all contents are subject to the following disclaimer:
>
> http://disclaimer.uj.ac.za
> <Sod.0000.tab><Sod.0002.tab><Sod.0001.tab><testncl.ncl>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Tue May 29 16:11:17 2012

This archive was generated by hypermail 2.1.8 : Wed May 30 2012 - 09:25:29 MDT