Y axis where Z axis is by default w/ surface [message #17382] |
Thu, 14 October 1999 00:00  |
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.
|
|
|
|
Re: Y axis where Z axis is by default w/ surface [message #17526 is a reply to message #17382] |
Fri, 15 October 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
David Fanning (davidf@dfanning.com) writes:
> Once you have the 3D transportation matrix the way you
> want it, you apply it to the SURFACE command by setting
> the T3D keyword there. But nothing I do can get what
> you want.
Got the airline schedule on the brain. Of course,
"transportation matrix" should have been "transformation
matrix". Holy moly!
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|