read text

diego diego333medina at YAHOO.ES
Wed Dec 13 10:59:25 EST 2006


hollo:

you have two options, easy and a other difficult one:

The easy one is to use Fortran and gnuplot package.
the difficult one is , convert to binary , generating
ctl and work in Grads.

bye

--- lorna nayagam <lorna_arn at YAHOO.COM> escribió:

> Hello gradsusers,
>
> I have a text file containing 600 values in a file
> data.txt. the contents of the file is like (single
> column, 600 lines)
>
> 300.992
> 299.981
> 289.237
> .......
> .......
> .......
>
>
> I want to read the lines from the text file and
> assign
> them as follows.
> x1=300.992
> x2=299.981
> ..........
> x600=.....
>
>
> can anybody help me? how to do this? i want to take
> them after calling x1, x2, ..... and do
> calculations.
> Kindly give a suggestion.
> thanks,
> lorna
>
> Ms. Lorna R. Nayagam,
> Junior Research Fellow,
> Department of Atmospheric Sciences,
> Cochin University of Science and Technology,
> Finearts Avenue, Cochin 682016
>
>
>
>
>
____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail
> beta.
> http://new.mail.yahoo.com
>




______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com



More information about the gradsusr mailing list