Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Q: Axes on top of graphics primitives?

  • To: mathgroup at
  • Subject: [mg22958] RE: [mg22908] Q: Axes on top of graphics primitives?
  • From: "David Park" <djmp at>
  • Date: Fri, 7 Apr 2000 02:54:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


This will do it.


Show[lp, region, AxesFront -> True];

And while we are on the topic, I don't understand why AxesFront is not a
regular Graphics option, instead of being buried in FilledPlot. Your example
shows that it has much wider application than filled plots!

David Park
djmp at

> In a list plot, I would like to mark a rectangular region around the axes
> origin with a gray background. The following three lines
> basically do what I
> want except that the axes are drawn *behind* the rectangle. Does
> anyone know
> an approach that allows to draw the axes on top of the gray region?
> lp = ListPlot[{{0, 0}}, PlotRange -> {{-2, 2}, {-2, 2}}, AspectRatio -> 1]
> region = Graphics[{GrayLevel[0.95], Rectangle[{-1, -1}, {1, 1}]}]
> Show[lp, region]
> -- Eckhard

  • Prev by Date: Re: best solution?
  • Next by Date: Re: Help please!
  • Previous by thread: Q: Axes on top of graphics primitives?
  • Next by thread: Re: Q: Axes on top of graphics primitives?