|
From: sfeam <sf...@us...> - 2017-06-17 16:10:49
|
On Saturday, 17 June 2017 17:31:34 Christoph Bersch wrote:
>
> In general, if I have a polar plot with autoscaled radius I would expect
> the complete circle of radius <autoscaled r> to fit completely in the
> canvas.
The autoscaled maximum on r does fit within the canvas.
The problem comes because of the gnuplot default policy to
extend the axis range to the next major tic mark.
The plot comes out as you would have expected if you first say
"set auto noextend" or "set rrange [] noextend".
Exactly the same thing can happen with Cartesian coordinate plots.
The only reason you don't notice is that usually enough space is
reserved in the margins for axis labels etc that the "too large"
border is still on the screen.
For example:
set margin .01,.01, .99, .99
unset xtics
unset ytics
plot '-'
input data ('e' ends) > 0 .99
input data ('e' ends) > .99 0
input data ('e' ends) > 0 -.99
input data ('e' ends) > -.99 0
input data ('e' ends) > e
> This seems to me like "natural" behavior and would probably also work
> better together with positioning of the polar border.
Maybe the R axis should default to "noextend"?
Ethan
> Best,
> Christoph
|