Consider some graphics which spill over the plot range, like these:
Graphics[{Red, Disk[{0, 0}, 1]},
PlotRange -> {{-1.1, .9}, {-1.1, 1.1}}, Frame -> True,
PlotRangeClipping -> False, ImagePadding -> 20, FrameStyle -> Thick]
Can I make the graphics be drawn in front of the frame without drawing the frame manually? Is there a possibly undocumented option for this (maybe a Graphics
Method
option)?
Answer
A few wild guesses (trying to mimic the "GridLinesInFront"
suboption of the option Method
) gave the following:
Graphics[{Red, Disk[{0, 0}, 1]},
PlotRange -> {{-1.1, .9}, {-1.1, 1.1}}, Frame -> True,
PlotRangeClipping -> False, ImagePadding -> 20, FrameStyle -> Thick,
Method -> {"FrameInFront" -> False}]
This option is documented (see under Details and Options) since version 10.
Comments
Post a Comment