tickmark problem
- To: mathgroup at smc.vnet.net
- Subject: [mg30393] tickmark problem
- From: bernd at bio.vu.nl (Bernd Brandt)
- Date: Wed, 15 Aug 2001 01:04:00 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Dear group,
I am having some difficulties with the TickMarks. For a publishable
graph, a set tickmarks and use a frame.
However Mathematica sometimes changes the major ticks marks to the
length of the minor ticks. Then i thought to set the lenghts
explicitly, but the following puzzles me (tickmark position are a bit
strange but they illustrate the problem).
p = Plot[t t , {t, 0, tend}, Frame -> True, PlotRange -> {0, 11},
FrameTicks -> {Range[0, 10, 2], {0.001, 0.01, 0.1, 1, 10}, None, None} ]
p = Plot[t t , {t, 0, tend}, Frame -> True, PlotRange -> {0, 11},
FrameTicks -> {Range[0, 10, 2], {0.01, 0.1, 1, 10}, None, None} ]
FrameTicks /. AbsoluteOptions[p]
gives for all tickmarks {0.00625, 0.} as length specification for both
graphs. However, you can clearly see the tickmarks length decrease
when FrameTicks includes 0.001.
FrameTicks -> {Range[0, 10, 2], {0.001, 0.01, 0.1, 1, 10}, None, None}
instead of
FrameTicks -> {Range[0, 10, 2], {0.01, 0.1, 1, 10}, None, None}
How can i make sure the tickmarks ALWAYS have the same length
regardless of PlotRange and tickmark positions?
And why does Mathematica give the same tickmark lengths when we can cleary see the lengths on the hor. axis change?
Regards,
Bernd