Re: Why the default set is 'XSTYLE=0, YSTYLE=0' [message #54951] |
Tue, 24 July 2007 04:25 |
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  |
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  |
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?
|
|
|