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

Home » Public Forums » archive » Printing array on one line
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Printing array on one line [message #8376] Fri, 28 February 1997 00:00
Mark Fardal is currently offline  Mark Fardal
Messages: 51
Registered: October 1995
Member
Hi again (it's that kind of day),

does anyone know how to print an array to a file and make it come
out all on one line? A simple
IDL> print,transpose(junk)
works for short arrays, but if "junk" gets long then IDL breaks the
array into multiple lines, which I don't want. also
IDL> print,format='(g)',transpose(junk)
gives only one element per line, not sure why.

Two wish-list items: writecol (analogous to readcol), and prints
(analogous to sprintf in C, or printing to internal files in fortran).

Thanks,
Mark Fardal
[Message index]
 
Read Message
Previous Topic: Color Frustration
Next Topic: Write Text

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

Current Time: Sat Oct 11 07:56:17 PDT 2025

Total time taken to generate the page: 0.16266 seconds