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

Home » Public Forums » archive » Re: Tabulated output
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
Re: Tabulated output [message #38942] Fri, 02 April 2004 16:02
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Tensor wrote:

> Hi everyone,
> This may be a newbie question, but I was looking for a way to get the
> output (from print commands) information in IDL to be in Table for
> instead of just listed out. Is there an easy way to do this? Thanks.
> tensor

I am not sure if I understand right your request.
Do you like to have a printout on the logwindow?

If data is type of string

printtab,sindgen(2,10)
% Compiled module: PRINTTAB.
0 1
2 3
4 5
6 7
8 9
10 11
12 13
14 15
16 17
18 19


Type casting if it is not string by n2s.

printtab,n2s(findgen(2,10))
% Compiled module: N2S.
% Compiled module: IS_STRUCTURE.
0.00000 1.00000
2.00000 3.00000
4.00000 5.00000
6.00000 7.00000
8.00000 9.00000
10.0000 11.0000
12.0000 13.0000
14.0000 15.0000
16.0000 17.0000
18.0000 19.0000


You find the routines in our library
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html

regards

Reimar
--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: selfcreating filenames for putput files?
Next Topic: Re: Matrix indexing question

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

Current Time: Wed Oct 08 13:45:27 PDT 2025

Total time taken to generate the page: 0.00541 seconds