MathGroup Archive 2002

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

Search the Archive

Uneven FrameTicks with ExtendGraphics

Dear MathGroup,

To plot FrameTicks outward with the same style as the Frame, I use
ExtendGraphics in the following way.


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

  • Prev by Date: Re: NIntegrate
  • Next by Date: creating adjacency matrices
  • Previous by thread: Re: MathematicaTeX
  • Next by thread: RE: Uneven FrameTicks with ExtendGraphics