MathGroup Archive 2010

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

Search the Archive

Re: size of ticks

On 05.04.2010 14:02, Benjamin Hell wrote:
> Hi guys,
> easy question this time. I want larger ticks on a plot. I know that I
> can use TicksStyle->Directive[Thickness[0.005], 50] to set the Thickness
> of the Ticks (here to 0.005) and the FontSize used for numbering the
> ticks (here to 50). I didn't figure out how to make the ticks longer.
> Thickness makes them broader, but does not influence the length. So how
> can I do that?
> Thanks in advance.
Hi Benjamin,
here is a silly example with ticks of different lenghts.
Plot[Sin[x], {x, 0, 6},
  Ticks -> {{{Pi/2, "PiHalf", 0.1}, {Pi, "Pi", 0.2}}}]


Daniel Huber
Metrohm Ltd.
Oberdorfstr. 68
CH-9100 Herisau
Tel. +41 71 353 8585, Fax +41 71 353 8907
E-Mail:<mailto:dh at>

  • Prev by Date: Re: Running Mathematica code using DOS
  • Next by Date: customized sliders
  • Previous by thread: size of ticks
  • Next by thread: Re: size of ticks