MathGroup Archive 2011

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

Search the Archive

Re: Ticks without labels

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122267] Re: Ticks without labels
  • From: "Roberto Cavaliere" <robcavaliere at gmail.com>
  • Date: Sun, 23 Oct 2011 06:21:58 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201110190935.FAA20123@smc.vnet.net> <j7p1li$5jl$1@smc.vnet.net> <201110211024.GAA17740@smc.vnet.net>

This is not a problem, it's possible with the current structure of the Ticks
option.
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.
~roberto


-----Messaggio originale-----
Da: Helen Read [mailto:readhpr at gmail.com]
Inviato: venerd=EC 21 ottobre 2011 12:24
A: mathgroup at smc.vnet.net
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.

HPR

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 gmail.com]
> Inviato: mercoled=EC 19 ottobre 2011 11:35
> A: mathgroup at smc.vnet.net
> 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