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

Home » Public Forums » archive » axis plotting
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: axis plotting [message #10471 is a reply to message #10385] Mon, 01 December 1997 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
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.
>

[xyz] style values are bimary flags, so you can simply combine them by
adding them together. In your example this would be xstyle=9.


> 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
> --
------------------------------------------------------------ -------
Dr. Martin Schultz
Department for Earth&Planetary Sciences, Harvard University
186 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA

phone: (617)-496-8318
fax : (617)-495-4551

e-mail: mgs@io.harvard.edu
IDL-homepage: http://www-as.harvard.edu/people/staff/mgs/idl/
------------------------------------------------------------ -------
[Message index]
 
Read Message
Read Message
Previous Topic: Newbie seeks help drawing multiple surface volumes
Next Topic: Re: Map_set limits / position

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

Current Time: Tue Dec 02 14:12:21 PST 2025

Total time taken to generate the page: 1.67835 seconds