Uneven FrameTicks with ExtendGraphics
- To: mathgroup at smc.vnet.net
- Subject: [mg36560] Uneven FrameTicks with ExtendGraphics
- From: Tom Aldenberg <Tom.Aldenberg at rivm.nl>
- Date: Wed, 11 Sep 2002 13:27:50 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Dear MathGroup, To plot FrameTicks outward with the same style as the Frame, I use ExtendGraphics in the following way. Needs["ExtendGraphics`Ticks`"]; tf[min_,max_] := TickFunction[min, max, MajorStyle -> {Thickness[0.003]}, MajorLength - > {0, 0.01}, MinorStyle -> {Thickness[0.003]}, MinorLength -> {0, 0.005}] Plot [-2.4 (x+6) (x-8), {x, -6.2, 9.2}, FrameTicks -> {tf, tf, None, None}, AspectRatio -> 18/25, Frame -> True, DefaultFont -> {"Helvetica-Bold", 12}, Axes -> None, FrameStyle -> Thickness[0.003], FrameLabel -> {"x", "y", None, None}, PlotStyle -> Thickness[0.006], ImageSize -> 504]; (instead of the same Plot statement with FrameTicks -> {Automatic, Automatic, None, None}) This arrangement of major and minor ticks is clearly unacceptable. The minor ticks do not divide intervals of adjacent labelled major ticks into equal parts. Are there other solutions? I have noticed that some major statistical (plotting) programs don't do minor ticks at all. Tom Aldenberg RIVM Bilthoven Netherlands