MathGroup Archive 2001

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

Search the Archive

RE: Frameticks

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31061] RE: [mg31031] Frameticks
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sat, 6 Oct 2001 03:32:34 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Bernd,

This is an annoying inconsistency in Mathematica graphics.

You can work around by specifying a slightly expanded PlotRange.

ListPlot[Range[1, 19], Frame -> True, 
  FrameTicks -> {Range[0, 20, 5], Range[0, 20, 5], None, Range[0, 20, 5]}, 
  PlotRange -> { {-0.01, 20.01}, {-0.01, 20.01}}]

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 

> From: Bernd Brandt [mailto:bernd at bio.vu.nl]
To: mathgroup at smc.vnet.net
> 
> Dear group,
> 
> When Frameticks are given the left and right axes display the same
> ticks differently.
> The Left axis does not display the first tick, and the right axis 
> does not display the last tick.
> 
> ListPlot[Range[1, 19], Frame -> True, 
>   FrameTicks -> {Range[0, 20, 5], Range[0, 20, 5], None, Range[0, 
> 20, 5]}, 
>   PlotRange -> {0, 20}]
> 
> gives left ticks from 5 to 20 (inclusive) and right ticks from 0 to 15.
> 
> How can i get Mathematica to display the tickmarks i ask for 
> (i.e. 0 to 20)?
> 
> regards,
> bernd
> 


  • Prev by Date: Re: RGBColor to Hue?
  • Next by Date: Re: Possible Incorrect Summation
  • Previous by thread: RE: Frameticks
  • Next by thread: Re: Frameticks