MathGroup Archive 2011

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

Search the Archive

Re: Ticks without labels

  • To: mathgroup at
  • Subject: [mg122267] Re: Ticks without labels
  • From: "Roberto Cavaliere" <robcavaliere at>
  • Date: Sun, 23 Oct 2011 06:21:58 -0400 (EDT)
  • Delivered-to:
  • References: <> <j7p1li$5jl$> <>

This is not a problem, it's possible with the current structure of the Ticks
See the description from the reference page:

{{ x1, label1, {plen1, mlen1}}, ...} tick marks with specified lengths in
the positive (plen) and negative(mlen) directions

Try this example:
Plot[Sin[x], {x, 0, 10},  Ticks -> {{0, {Pi, Pi, {.1, .2}, Directive[Blue,
Thick]}, 2 Pi,  3 Pi}, Automatic}]

The second tick at Pi is blue, thick and quite longer than the others due to
the input {.1, .2}.

Hope this is what you was looking for.

-----Messaggio originale-----
Da: Helen Read [mailto:readhpr at]
Inviato: venerd=EC 21 ottobre 2011 12:24
A: mathgroup at
Oggetto: Re: R: Ticks without labels

I'd also like an option for making the Ticks themselves taller. After
exporting a plot and sizing it down for use on say a quiz, often the ticks
are so small as to be just about invisible.


On 10/20/2011 7:45 AM, Roberto Cavaliere wrote:
> Try this:
> TicksStyle ->  Directive[FontSize ->0, FontColor ->  White]
> I hope in the future Ticks will allow to separate directives for ticks 
> and for ticks labels, so, for instance, to specify something like
> Ticks->Automatics and TicksLabels->None
> ~roberto
> -----Messaggio originale-----
> Da: solid-state [mailto:phmech at]
> Inviato: mercoled=EC 19 ottobre 2011 11:35
> A: mathgroup at
> Oggetto: Ticks without labels
> Hello, everybody!
> I've got a question about plots. Can anyone, please, suggest a simple
> method for drawing ticks without labels?
> Thank you in advance.

  • Prev by Date: Large control loops
  • Next by Date: Re: Full simplify problem
  • Previous by thread: Re: Ticks without labels
  • Next by thread: Re: Ticks without labels