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

Home » Public Forums » archive » Re: plotting two dimension grid array
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: plotting two dimension grid array [message #72363] Mon, 06 September 2010 02:38
Peter Clinch is currently offline  Peter Clinch
Messages: 98
Registered: April 1996
Member
Pom wrote:
> On Sep 4, 8:43 am, Gray <grayliketheco...@gmail.com> wrote:
>> On Sep 4, 10:36 am, Pom <pom4...@gmail.com> wrote:
>>
>>> I have a two dimensions data set of
>>> FLTARR (num_point, nx , ny), I would like to plot this data into a 2D
>>> grid array
>>> of nx by ny. I would appreciate any tip.
>>> thanks,nixie.
>> Well, the array you create with this FLTARR call is not 2d, it's 3d.
>> Are you talking about a nx,ny array which is similar to an image? If
>> so, see SURFACE, CONTOUR, or TV. If not, can you give us some more
>> information?
>
> My data is not quite image data but 2D spectroscopy data, where
> num_point is the time domain and nx and ny are spatial in X and Y
> domain(dimensions).
> I need to create nx by ny voxel grid, and in each voxel grid displays
> time domain (num_point) data?
> thanks.

As above, I think SURFACE, CONTOUR or TV will be your friends, choosing
between them according to exactly what works best for your particular
data and who's getting what from it. You can also use the iSurface,
iContour and iImage itools.

Pete.
--
Peter Clinch Medical Physics IT Officer
Tel 44 1382 660111 ext. 33637 Univ. of Dundee, Ninewells Hospital
Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
net p.j.clinch@dundee.ac.uk http://www.dundee.ac.uk/~pjclinch/
Re: plotting two dimension grid array [message #72367 is a reply to message #72363] Sat, 04 September 2010 09:06 Go to previous message
Pom is currently offline  Pom
Messages: 13
Registered: August 2010
Junior Member
On Sep 4, 8:43 am, Gray <grayliketheco...@gmail.com> wrote:
> On Sep 4, 10:36 am, Pom <pom4...@gmail.com> wrote:
>
>> I have a two dimensions data set of
>> FLTARR (num_point, nx , ny), I would like to plot this data into a 2D
>> grid array
>> of nx by ny. I would appreciate any tip.
>
>> thanks,nixie.
>
> Well, the array you create with this FLTARR call is not 2d, it's 3d.
> Are you talking about a nx,ny array which is similar to an image?  If
> so, see SURFACE, CONTOUR, or TV.  If not, can you give us some more
> information?

My data is not quite image data but 2D spectroscopy data, where
num_point is the time domain and nx and ny are spatial in X and Y
domain(dimensions).
I need to create nx by ny voxel grid, and in each voxel grid displays
time domain (num_point) data?
thanks.
Re: plotting two dimension grid array [message #72368 is a reply to message #72367] Sat, 04 September 2010 08:43 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Sep 4, 10:36 am, Pom <pom4...@gmail.com> wrote:
> I have a two dimensions data set of
> FLTARR (num_point, nx , ny), I would like to plot this data into a 2D
> grid array
> of nx by ny. I would appreciate any tip.
>
> thanks,nixie.

Well, the array you create with this FLTARR call is not 2d, it's 3d.
Are you talking about a nx,ny array which is similar to an image? If
so, see SURFACE, CONTOUR, or TV. If not, can you give us some more
information?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: color tiffs
Next Topic: IDL 8

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

Current Time: Wed Oct 08 11:37:39 PDT 2025

Total time taken to generate the page: 0.00483 seconds