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

Home » Public Forums » archive » Re: Why the default set is 'XSTYLE=0, YSTYLE=0'
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: Why the default set is 'XSTYLE=0, YSTYLE=0' [message #54951] Tue, 24 July 2007 04:25
weitkamp is currently offline  weitkamp
Messages: 33
Registered: October 1998
Member
On Jul 23, 2:34 pm, Conor <cmanc...@gmail.com> wrote:

> Most of the time I use the default setting when I'm just plotting a
> data set for the first time, and don't know exactly what axis range I
> would like to use. Essentially, it is handy anytime you don't know
> what your data range is, and you are too lazy to type
> 'xr=[min(x),max(x)],yr=[min(y),max(y)],xs=1,ys=1'. Also, [xy]style =
> 0 is usually pretty good at putting just enough whitespace on each
> side of the plot to make it look nice, a fact that I sometimes take
> advantage of.

Really? Automatic range scaling is the default regardless of the
values of [XY]STYLE, I think. And the whitespace produced by
[XY]STYLE=0 is often extremely unevenly distributed (if present at
all).

Anyway, here's a hint to the original poster: Yi, if you don't like
the default behavior of PLOT, you can change it by adding two
statements to your startup file:

!X.STYLE=1
!Y.STYLE=1

Cheers,
Timm
Re: Why the default set is 'XSTYLE=0, YSTYLE=0' [message #54970 is a reply to message #54951] Mon, 23 July 2007 05:34 Go to previous message
Conor is currently offline  Conor
Messages: 138
Registered: February 2007
Senior Member
On Jul 23, 6:22 am, greg.a...@googlemail.com wrote:
> On Jul 23, 10:11 am, Yi <yi.se...@gmail.com> wrote:
>
>> Dear IDL experts.
>
>> I know that I have to set XSTYLE=1, YSTYLE=1 to enforce exact axis
>> ranges.
>> Now, I'd like to know when the default setting(XSTYLE=0, YSTYLE=0) is
>> more useful
>> than [XY]style=1.
>
> Every day except Monday?

Most of the time I use the default setting when I'm just plotting a
data set for the first time, and don't know exactly what axis range I
would like to use. Essentially, it is handy anytime you don't know
what your data range is, and you are too lazy to type
'xr=[min(x),max(x)],yr=[min(y),max(y)],xs=1,ys=1'. Also, [xy]style =
0 is usually pretty good at putting just enough whitespace on each
side of the plot to make it look nice, a fact that I sometimes take
advantage of.
Re: Why the default set is 'XSTYLE=0, YSTYLE=0' [message #54971 is a reply to message #54970] Mon, 23 July 2007 03:22 Go to previous message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
On Jul 23, 10:11 am, Yi <yi.se...@gmail.com> wrote:
> Dear IDL experts.
>
> I know that I have to set XSTYLE=1, YSTYLE=1 to enforce exact axis
> ranges.
> Now, I'd like to know when the default setting(XSTYLE=0, YSTYLE=0) is
> more useful
> than [XY]style=1.

Every day except Monday?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Oooh...! It's harder than I thought!! To get average of each line using only meaningful data
Next Topic: Re: IDL crashing on call of TV - solved

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

Current Time: Wed Oct 08 11:45:08 PDT 2025

Total time taken to generate the page: 0.00678 seconds