Re: Frameticks
- To: mathgroup at smc.vnet.net
- Subject: [mg31052] Re: Frameticks
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Sat, 6 Oct 2001 03:32:20 -0400 (EDT)
- References: <9pjg4s$3er$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Bernd,
Make room for the ticks:
ListPlot[Range[1, 19], Frame -> True,
FrameTicks -> {Range[0, 20, 5], Range[0, 20, 5], None, Range[0, 20, 5]},
PlotRange -> {{-.001, 20.001},{-.001, 20.001}}]
--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565
"Bernd Brandt" <bernd at bio.vu.nl> wrote in message
news:9pjg4s$3er$1 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
>