Re: ImagePadding and PlotRange anomaly
- To: mathgroup at smc.vnet.net
- Subject: [mg112613] Re: ImagePadding and PlotRange anomaly
- From: István Zachar <zac at freemail.hu>
- Date: Thu, 23 Sep 2010 04:21:02 -0400 (EDT)
- References: <i6spui$mll$1@smc.vnet.net>
No solution/suggestion for this?
On Sep 16, 12:01 pm, Istv=E1n Zachar <z... at freemail.hu> wrote:
> Dear All,
>
> when I manipulate the y range of plots it is often a problem that the
> plot size (the actual range displayed) changes size due to the size of
> frameticks. ImagePadding can deal with the problem for some extent,
> but definitely cannot solve it. See the attached code, where I
> manipulate the left frame scale from a range of {0, 10^10} to {0,
> 10^20}. This in my machine causes the resizing of the framebox of the
> plot at y = 16,y = 17 and y = 18. What is the cause of it? How c=
an it
> be eliminated?
>
> Thanks in advance,
> Istvan
>
> Manipulate[
>
> Framed@Plot[x, {x, 0, 4 \[Pi]},
> FrameLabel -> {"x axis", "y axis"},
> PlotLabel -> "Plot label",
> ImageSize -> {400, 400},
> PlotRange -> {{0, 4 \[Pi]}, {0, 10.^y}},
> PlotRangePadding -> Scaled[0.02],
> ImagePadding -> {{Scaled[.07], 0}, {Scaled[.04], Scaled[.01]}},
> AspectRatio -> 1, Axes -> False, Frame -> True,
> BaseStyle -> {FontSize -> 14, FontFamily -> "Times"},
> RotateLabel -> True
> ],
>
> {{y, 17, "y max (10^y)"}, 10, 20, 1, Appearance -> "Labeled"}
> ]