Show[
Plot[x, {x, 0, 1}, PlotRange -> All],
Frame -> True, PlotRange -> {{0, 1}, {0, 1}}, AspectRatio -> 1]
gives the expected result in Mathematica 9
but in Mathematica 10.0.1 the plot range is larger than wanted:
Is this a bug?
With
Plot[x, {x, 0, 1}, PlotRange -> {{0, 1}, {0, 1}}, AspectRatio -> 1, Frame -> True]
one gets the with Mathematica 10 the same output as with Mathematica 9.
PlotRange
is different then line range is different, but it is not the case. What is then?, the algorithm behindPlotRangePadding
probably, usePlotRangePadding -> 0
to fix that. $\endgroup$PlotRangePadding->None
also works. This is probably no bug, unless the changed behavior ofFramed->True
was unintentional (who knows). BTW, why not put all options into thePlot
call? $\endgroup$