Is it possible to retrieve an automatically-generated plot range in Mathematica?
For example, if I were to do:
Plot[Sin[x], {x, 0, 2 \[Pi]}, PlotRange -> Automatic]
then I’d like to know that the range of the Y axis was -1 to 1 and the range of the X axis was 0 to 2 pi.
AbsoluteOptionsis a bit of a lottery but works in this caseEven though
AbsoluteOptionssupercededFullOptionssometimes it is also worth tryingFullOptionsif and whenAbsoluteOptionsfails because I have come across cases whenAbsoluteOptionsfails butFullOptionsworks. In this caseFullOptionsalso works: