COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

plotting two dimension grid array

• Follow

```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.
```
 0

```On Sep 4, 10:36=A0am, 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?
```
 0

```On Sep 4, 8:43=A0am, Gray <grayliketheco...@gmail.com> wrote:
> On Sep 4, 10:36=A0am, 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? =A0If
> so, see SURFACE, CONTOUR, or TV. =A0If 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.
```
 0

```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/
```
 0

3 Replies
436 Views

Similiar Articles:

7/25/2012 4:11:07 AM