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 #64028 is a reply to message #64025] Tue, 02 December 2008 08:01 Go to previous messageGo to previous message
Wasit.Weather is currently offline  Wasit.Weather
Messages: 62
Registered: February 2008
Member
On Dec 2, 6:53 am, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
>>> 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- Hide quoted text -
>
> - Show quoted text -

Thank you all. I took the advice on data output part form Cris, and
Format from Jean, that worked.
Is there anyway to leave and empty row after several number of lines,
and input a semi colon or colon after each values?

thanks
[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: Sun Oct 12 15:05:36 PDT 2025

Total time taken to generate the page: 1.52174 seconds