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

Home » Public Forums » archive » Re: inset 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: inset plot [message #70488 is a reply to message #70485] Fri, 16 April 2010 20:52 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Apr 16, 4:10 pm, Gray <grayliketheco...@gmail.com> wrote:
> Hi all,
>
> Does anyone know of a good way to produce an inset for a plot in
> direct graphics?  I'd like to inset, for example, a zoom of a
> particular wavelength range in a spectrum.  Thanks!

Usually the /NOERASE keyword is useful to overlay a new plot on an
existing plot, and the POSITION keyword to make a smaller plot box.
For example,

plot, findgen(10)
plot, findgen(10), /noerase, position=[0.6,0.4,0.9,0.9]

Good luck,
Craig
[Message index]
 
Read Message
Read Message
Previous Topic: Procedures and Functions - Checking Input Data for Validity
Next Topic: how many active IDL users are there?

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

Current Time: Sat Nov 29 08:55:00 PST 2025

Total time taken to generate the page: 1.20274 seconds