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

Home » Public Forums » archive » Re: add a line and column into an array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: add a line and column into an array [message #64035 is a reply to message #64028] Tue, 02 December 2008 04:53 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
>> for i = 0, 8, 1 do begin
>> printf, 1, name[i], data[i,*], format='(a, f)' ;- maybe you want data
>> [*,i]
>> endfor
>> close, 1
>>
>> chris- Hide quoted text -
>>
>> - Show quoted text -
>
> Thank you!
> That should work. I thought it to complicated before. Does format='(a,
> f)' handle to print all of the data in one line?
> Sorry, my data is in office, not at home, so I can not test yet.
>
> Cheears

Hi,
If it doesn't, try (a,9f)

Personally, especially for small prints, I like to prepare my text
before printing...

textToPrint =[ transpose(name), [string(data)]]
print, textToPrint

You might want to add the format to the string() function
Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL app development with "Collections Framework"
Next Topic: help with "interpolate"

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

Current Time: Sat Oct 11 14:35:51 PDT 2025

Total time taken to generate the page: 0.64283 seconds