comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » add a line and column into an array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
add a line and column into an array [message #64040] Mon, 01 December 2008 17:50
Wasit.Weather is currently offline  Wasit.Weather
Messages: 62
Registered: February 2008
Member
Hello,
I have an array of floating numbers. Can I add one line as the first
line of the array, and one column as the first column,
The data I would like to add is strings. Basically, I want to print
them into a txt file
E.G.:
data= fltarr(9,9)
years = ['1950', '1960', '1970', '1980', '1990', '2000', '2010',
'2020', '2030']
Name= ['test1', 'test2', 'test3', 'test4', 'test5', 'test6', 'test7',
'test8', 'test9']

I want to print years as a 1st line of the txt file, and Name as the
1st column, then the data array.

Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL Programming Techniques, 3rd edition
Next Topic: Re: IDL app development with "Collections Framework"

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:05:31 PDT 2025

Total time taken to generate the page: 0.00462 seconds