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

Home » Public Forums » archive » Re: axis plotting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: axis plotting [message #10383] Fri, 28 November 1997 00:00
szoonem is currently offline  szoonem
Messages: 16
Registered: June 1995
Junior Member
In article <65lqhk$nod@gap.cco.caltech.edu>,
williams@idunn.srl.caltech.edu (Daniel Williams) wrote:

> I want to plot data with only the lower x axis and the left y axis
> showing. This requires that I set xstyle=8 and ystyle =8. Pretty
> simple. But, I also want to strictly set the axis, e.g. to set
> xrange=[5,30] and yrange=[0,200]. This requires that xstyle=1 and
> ystyle=1.
>
> Since I can only set the style parameters to a single value, I can
> either have the plot draw left/lower axis, in which case IDL sets the
> ranges as it pleases, or I can set the ranges, in which case IDL makes
> more axes than I want to see. I could solve this with multiple plot
> and axis commands, but is there an easier, perhaps one-line way to do
> this?
>
> Cheers,
> Daniel Williams

You have to remember that when you set xstyle & ystyle values, you are
really setting the diffenent bits (0 - 4). So to make plot behave the way
you want it, you need set bits 0 and 3 simultaneously which is equivalent
to XSTYLE=9 and YSTYLE=9.

Cheers,

- Saeid

------------------------------------------------------------ -----
| Saeid Zoonematkermani | E-Mail: szoonem@astro.sunysb.edu |
| Dept. of Physics & Astronomy | Voice: (+1) (516) 632-8237 |
| State University of New York | Fax: (+1) (516) 632-8742 |
| Stony Brook, NY 11794-3800 | |
------------------------------------------------------------ -----
| Home Page --> http://ozone.ess.sunysb.edu/ |
------------------------------------------------------------ -----
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: probable mistake in IDL manual
Next Topic: How to use LINKNLOAD in PV-Wave 5.0

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

Current Time: Wed Oct 08 18:38:30 PDT 2025

Total time taken to generate the page: 0.00499 seconds