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

Home » Public Forums » archive » Y axis where Z axis is by default w/ surface
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Y axis where Z axis is by default w/ surface [message #17382] Thu, 14 October 1999 00:00 Go to previous message
T Bowers is currently offline  T Bowers
Messages: 56
Registered: May 1998
Member
ok, simple question
in a surface plot (or shade_surf), how do I make my Y axis
run down the left side like the Z axis does by default. e.g, I
have an array data[] like:

-0.0 1.0 1.1 1.2
-0.5 2.0 2.2 2.5
-1.0 1.0 3.3 5.0

then I surface it with:
depth = data[0,*] ;1st column of data[]
timeStep = [0,1,2] ;create values for axis
values = data[1:*,*] ;rest of data[]
surface, values, timestep, depth

I've played mercilessly with the Ax, Az keywords to rotate the
damn thing, but I need an Ay to get the desired effect! I thought
I could just rotate about the x axis 90 degrees with Ax keyword,
but this doesn't really rotate about x, it tilts the plot toward or
away from you (poor behavior IMO). Really, I just want my Y
and Z axes (axes?) to switch places.
Can someone be my savior, please before I resort to extreme
violence in the workplace?

thanks.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: 3D region growing
Next Topic: ??% TRIGRID: X, Y, or Z array dimensions are incompatible?? what the....

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

Current Time: Sun Oct 12 17:35:52 PDT 2025

Total time taken to generate the page: 1.43656 seconds