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

Home » Public Forums » archive » Cross-section
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Cross-section [message #6966 is a reply to message #6829] Sat, 07 September 1996 00:00 Go to previous messageGo to previous message
pford is currently offline  pford
Messages: 33
Registered: September 1996
Member
In article <Pine.SGI.3.91.960828160955.9999C-100000@swsgi01>, Richard
Dixon <rdixon@swsgi01> wrote:

> As part of my Ph.D I am starting, I need to be able to display some
> grpahics. The data set is integers in x,y and z positions, with x and y
> part of a 92x92 grid, with 19 z levels. I need to display a vertical
> cross section along any line in the x,y plane.
>
> Is this easily done, and can anyone point me to any commands that I can
> use - I am a new user of IDL!
>
> Many thanks,
>
> Rich

From one IDL-novice to another, you can take this for what it is worth.

I can think of two ways.

1) The slicer command R 1-812, looks like just what you want.

2) a klugy way:
M = intarr(92,92,19)
xy = intarr(92,92)
xz = intarr(92,19)
.
.
xz = M(*,5,*) ;xz is now the 92,19 pixel slice where y = 5
tvslc, xz
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: "Object Graphics and Vectors" Reloaded
Next Topic: ...and planet textures ...

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

Current Time: Sun Oct 19 03:54:51 PDT 2025

Total time taken to generate the page: 1.28103 seconds