Re: pvplotting [message #13971] |
Fri, 18 December 1998 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Sue Leadbeater (r.dunham@mluri.sari.ac.uk) writes:
> I am trying to display slope profiles using pvwave but dont seem to be
> able to maintain the same scale representation for both the x- and
> y-axes. Does anyone know whether I have missed something obvious?
You can download a program called ASPECT from my web page.
It will calculate the window position coordinates to place
a plot with a specified aspect ratio. For example, to get
a plot with a square (1.0) aspect ratio, you can do this:
IDL> Window
IDL> Plot, data, Position=Aspect(1.0)
The ASPECT function is here:
http://www.dfanning.com/programs/aspect.pro
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|