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

Home » Public Forums » archive » Perspective view of a 2-d 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: Perspective view of a 2-d plot [message #36464 is a reply to message #36369] Wed, 17 September 2003 06:44 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Clay Blankenship writes:

> I'm sure there must be a way to do this in IDL but I don't know what it is.
> I want to do 4 stacked 2-d plots using MAP_SET and PLOTS, looking something
> like this:
> ___________
> / /
> /__________/
> ___________
> / /
> /__________/
> ___________
> / /
> /__________/
> ___________
> / /
> /__________/
>
> I want to make specific humidity plots at 4 different levels in the
> atmosphere. I already do these individually but want to try visualizing
> them this way.

I can't really tell what you are looking for
here. If you just want four plots in the window,
setting !P.MULTI is the way to go:

!P.MULTI=[0,1,4]
Map_Set, ...
Oplot,...
Map_Set, /Advance ...
Oplot,...
Map_Set, /Advance ...
Oplot,...
Map_Set, /Advance ...
Oplot,...
!P.MULTI=0

If you want "stacked" plots, so that the upper border of
the lower plot is the lower border of the upper plot,
then you are going to have to become proficient in the
use of keywords. Here are a few you are going to have
to know how to use for sure: POSITION, NOERASE, and [XY]STYLE.
You are probably also going to have to know a trick for turning
off axis annotation occasionally. I use XTICKFORMAT='(A1)'.

Here is an example of a "stacked" plot, although it doesn't
use MAP_SET, which might introduce its own complications. :-)

http://www.dfanning.com/graphics_tips/ladder_plot.html

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Dataminer: faster way to get all records in a IDLdbRecordset table?
Next Topic: power law interpolation

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

Current Time: Fri Oct 10 17:45:42 PDT 2025

Total time taken to generate the page: 1.99980 seconds