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

Home » Public Forums » archive » how to convert a row of data in a column?
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
how to convert a row of data in a column? [message #82908] Fri, 25 January 2013 05:34
panklbj is currently offline  panklbj
Messages: 5
Registered: November 2012
Junior Member
I am using an external program which returns me a one dimensional array, .i.e. a row of data like this.

1 2 5 7 8 9 0

The problem is that I need to read it as a column of data. I tried to create an array to store it but it doesn't work.
(Here set=[1 2 5 7 8 9 0])

d=dblarr(1,7)
set=d

but when I print set on the screen, it is still
1 2 5 7 8 9 0
instead of
1
2
5
7
8
9
0

what can I do?

Many thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2D array as colour dot image
Next Topic: Re: how to convert a row of data in a column?

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

Current Time: Wed Oct 08 14:00:28 PDT 2025

Total time taken to generate the page: 0.00546 seconds