MathGroup Archive 2007

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

Search the Archive

Re: grid lines cutting into tick labels on y-axes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg79575] Re: grid lines cutting into tick labels on y-axes
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Sun, 29 Jul 2007 05:23:54 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <f8h4am$6o2$1@smc.vnet.net>

kristoph wrote:
> Dear all,
> 
> I'm using Show[...] to display some plots. To show what I want to show
> I'm using grid lines together with the plots. Unfortunately, the grid
> lines are cutting into the tick labels on the y-axes. To visualize the
> problem you can use
> 
> Show[Plot[x,{x,0,1},GridLines->Automatic]]
> 
> as a simplified example.
> 
> How can I display the tick labels without interfering with the grid
> lines? Or better, is it possible to end the grid lines at each axes?
> 
> Thanks in advance,
> Kristoph

Hi Kristoph,

A possible workaround is to use frames as in

Show[Plot[x, {x, 0, 1}, GridLines -> Automatic, Frame -> True]]

HTH,
Jean-Marc


  • Prev by Date: Re: Unbearably slow plotting (v6)
  • Next by Date: Re: Simulation flow in porous media???
  • Previous by thread: grid lines cutting into tick labels on y-axes
  • Next by thread: Re: grid lines cutting into tick labels on y-axes