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

Home » Public Forums » archive » multi-surface plot
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: multi-surface plot [message #4696 is a reply to message #4607] Fri, 07 July 1995 00:00 Go to previous messageGo to previous message
jun is currently offline  jun
Messages: 9
Registered: June 1994
Junior Member
Thanks many people for contributing their ideas on the multi-surface
plot problem. Inspired by Dr. L. Kramer, I tried the following way which
works pretty well for me:

IDL> surface, Z1, ZRANGE=[100,300], /nodata, /save ;setup coordinates
IDL> surface, Z1, ZRANGE=[100,300], /T3D, xstyle=4, ystyle=4, zstyle=4, /noerase
IDL> surface, Z2, ZRANGE=[100,300], /T3D, xstyle=4, ystyle=4, zstyle=4, /noerase
... ... (repeat this on Z3 and Z4)

It's even better if you use different color for each surface.
Because many people expressed their interest in this problem, I think
it might be good to post this solution.

Finally, Thanks, Leonard. Great idea!








In article <lkramer.4.009623B3@neosoft.com>, lkramer@neosoft.com (Leonard Kramer) writes:
|> In article <3tbvof$ink@apakabar.cc.columbia.edu> jun@eureka.columbia.edu (Jun Xu) writes:
|> >Path:
|> > uuneo.neosoft.com!news.uh.edu!swrinde!gatech!rutgers!news.co lumbia.edu!eureka.co
|> >lumbia.edu!jun
|> >From: jun@eureka.columbia.edu (Jun Xu)
|> >Newsgroups: comp.lang.idl-pvwave
|> >Subject: multi-surface plot
|> >Date: 4 Jul 1995 18:02:55 GMT
|> >Organization: columbia astronomy department
|> >Lines: 15
|> >Sender: jun@parsifal.phys.columbia.edu (Jun Xu)
|> >Distribution: world
|> >Message-ID: <3tbvof$ink@apakabar.cc.columbia.edu>
|> >NNTP-Posting-Host: parsifal.phys.columbia.edu
|> >Keywords: multi-surface plot
|>
|>
|> >Does anyone know a way to make a multi-surface plot
|> >in IDL?
|>
|> >We have 4 2D arrays z1(x,y), z2(x,y), z3(x,y) and z4(x,y),
|> >and we want to plot all 4 surfaces in one plot. These are
|> >surfaces at different height. It would be interesting to
|> >plot them together in one plot so that people can compare
|> >them.
|>
|> >Thanks in advance.
|>
|> >Cheers,
|>
|> >J. Xu
|>
|> May I suggest:
|>
|>
|> SURFACE,Z1,/SAVE
|> SURFACE,Z2,/T3D,XSTYLE=4,YSTYLE=4,ZSTYLE=4,/NOERASE
|> SURFACE,Z3,/T3D,XSTYLE=4,YSTYLE=4,ZSTYLE=4,/NOERASE
|> SURFACE,Z4,/T3D,XSTYLE=4,YSTYLE=4,ZSTYLE=4,/NOERASE
|>
|> You might want to also specify a different color for each variable. E-mail me
|> for details if interested.
|>
|> Leonard
|>
|>
|>
|>
|>
|> ------------------------------------------------------------ ---------
|> Leonard Kramer, Ph.D. Physicist.
|> AGAR Corporation, (Process Measurement & Control)
|> POB 802127 Houston, TX 77280-2127
|> email: lkramer@neosoft.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Widget problems
Next Topic: The TAB key is alive!

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

Current Time: Sat Oct 11 16:27:14 PDT 2025

Total time taken to generate the page: 1.20132 seconds