Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5726 > unrolled thread

R: Ticks without labels

Started by"Roberto Cavaliere" <robcavaliere@gmail.com>
First post2011-10-20 11:45 +0000
Last post2011-10-23 10:24 +0000
Articles 10 — 8 participants

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  R: Ticks without labels "Roberto Cavaliere" <robcavaliere@gmail.com> - 2011-10-20 11:45 +0000
    Re: R: Ticks without labels Helen Read <readhpr@gmail.com> - 2011-10-21 10:31 +0000
      Re: R: Ticks without labels Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-10-22 10:12 +0000
    Re: Ticks without labels solid-state <phmech@gmail.com> - 2011-10-21 11:29 +0000
      Re: Ticks without labels Diego Zviovich <dzviovich@gmail.com> - 2011-10-24 09:15 +0000
      Re: Ticks without labels Heike Gramberg <heike.gramberg@gmail.com> - 2011-10-25 10:22 +0000
    Re: Ticks without labels David Annetts <david.annetts@iinet.net.au> - 2011-10-22 10:15 +0000
    Re: Ticks without labels DrMajorBob <btreat1@austin.rr.com> - 2011-10-23 10:23 +0000
    Re: Ticks without labels "Roberto Cavaliere" <robcavaliere@gmail.com> - 2011-10-23 10:23 +0000
    Re: Ticks without labels DrMajorBob <btreat1@austin.rr.com> - 2011-10-23 10:24 +0000

#5726 — R: Ticks without labels

From"Roberto Cavaliere" <robcavaliere@gmail.com>
Date2011-10-20 11:45 +0000
SubjectR: Ticks without labels
Message-ID<j7p1li$5jl$1@smc.vnet.net>
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@gmail.com]
Inviato: mercoled=EC 19 ottobre 2011 11:35
A: mathgroup@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.

[toc] | [next] | [standalone]


#5755

FromHelen Read <readhpr@gmail.com>
Date2011-10-21 10:31 +0000
Message-ID<j7rhlm$hev$1@smc.vnet.net>
In reply to#5726
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@gmail.com]
> Inviato: mercoled=EC 19 ottobre 2011 11:35
> A: mathgroup@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.
>
>


[toc] | [prev] | [next] | [standalone]


#5782

FromArmand Tamzarian <mike.honeychurch@gmail.com>
Date2011-10-22 10:12 +0000
Message-ID<j7u4v7$t7f$1@smc.vnet.net>
In reply to#5755
On Oct 21, 9:31 pm, Helen Read <read...@gmail.com> wrote:
> 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:phm...@gmail.com]
> > Inviato: mercoled=EC 19 ottobre 2011 11:35
> > A: mathgr...@smc.vnet.net
> > Oggetto: Ticks without labels
>
> > Hello, everybody!
>
> > I've got a question about plots. Can anyone, please, suggest a simple m=
ethod
> > for drawing ticks without labels?
>
> > Thank you in advance.


If you mean that when you export as say a bitmap with a high image
resolution that the ticks virtually disappear, this is a known bug
that has been present for awhile but doesn't seem to get fixed.

e.g. Export["plot.tiff", Plot[x, {x, 1, 4}], ImageResolution -> 600]

you need a microscope to see the ticks!!

Could we get a commitment from Wolfram to fix some of these long
standing bugs in the next release? e.g. if something was a bug in 6,
7, and 8 should it really be still there in 9??

Mike

[toc] | [prev] | [next] | [standalone]


#5766 — Re: Ticks without labels

Fromsolid-state <phmech@gmail.com>
Date2011-10-21 11:29 +0000
SubjectRe: Ticks without labels
Message-ID<j7rl37$i84$1@smc.vnet.net>
In reply to#5726
Thanks very much for your replies, guys! Especially Roberto!

Best wishes,
Yalchin

[toc] | [prev] | [next] | [standalone]


#5832 — Re: Ticks without labels

FromDiego Zviovich <dzviovich@gmail.com>
Date2011-10-24 09:15 +0000
SubjectRe: Ticks without labels
Message-ID<j83ac8$k3s$1@smc.vnet.net>
In reply to#5766
Hi there, following up in this subject, is there a way to show ticks
and labels, but not the axis line?
Thanks

[toc] | [prev] | [next] | [standalone]


#5852 — Re: Ticks without labels

FromHeike Gramberg <heike.gramberg@gmail.com>
Date2011-10-25 10:22 +0000
SubjectRe: Ticks without labels
Message-ID<j862kp$5t3$1@smc.vnet.net>
In reply to#5766
You could do something like

Plot[Sin[x], {x, 0, 2 Pi}, AxesStyle -> Opacity[0], 
 TicksStyle -> Opacity[1]]

Heike.

On 24 Oct 2011, at 11:13, Diego Zviovich wrote:

> Hi there, following up in this subject, is there a way to show ticks
> and labels, but not the axis line?
> Thanks
> 

[toc] | [prev] | [next] | [standalone]


#5788 — Re: Ticks without labels

FromDavid Annetts <david.annetts@iinet.net.au>
Date2011-10-22 10:15 +0000
SubjectRe: Ticks without labels
Message-ID<j7u544$t8b$1@smc.vnet.net>
In reply to#5726
Hi Helen,

You have this already, and have had for some versions.

You can specify {tick, label, {+ve, -ve}} or {tick, label, length}

Consider

tik1 = {#, Style[ToString@#, FontColor -> Hue[#/11]], #/100} & /@
    Range[1, 10];
Plot[BesselJ[0, x], {x, 0, 10}, FrameTicks -> {tik1, Automatic}]

Regards,

d.

On 21/10/2011 18:24, Helen Read wrote:
> 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@gmail.com]
>> Inviato: mercoled=EC 19 ottobre 2011 11:35
>> A: mathgroup@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.
>>
>>
>
>

[toc] | [prev] | [next] | [standalone]


#5805 — Re: Ticks without labels

FromDrMajorBob <btreat1@austin.rr.com>
Date2011-10-23 10:23 +0000
SubjectRe: Ticks without labels
Message-ID<j80pv5$a89$1@smc.vnet.net>
In reply to#5726
> Could we get a commitment from Wolfram to fix some of these long
> standing bugs in the next release?

I seriously doubt it.

Bobby

On Sat, 22 Oct 2011 05:07:47 -0500, Armand Tamzarian  
<mike.honeychurch@gmail.com> wrote:

> On Oct 21, 9:31 pm, Helen Read <read...@gmail.com> wrote:
>> 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:phm...@gmail.com]
>> > Inviato: mercoled=EC 19 ottobre 2011 11:35
>> > A: mathgr...@smc.vnet.net
>> > Oggetto: Ticks without labels
>>
>> > Hello, everybody!
>>
>> > I've got a question about plots. Can anyone, please, suggest a simple  
>> m=
> ethod
>> > for drawing ticks without labels?
>>
>> > Thank you in advance.
>
>
> If you mean that when you export as say a bitmap with a high image
> resolution that the ticks virtually disappear, this is a known bug
> that has been present for awhile but doesn't seem to get fixed.
>
> e.g. Export["plot.tiff", Plot[x, {x, 1, 4}], ImageResolution -> 600]
>
> you need a microscope to see the ticks!!
>
> Could we get a commitment from Wolfram to fix some of these long
> standing bugs in the next release? e.g. if something was a bug in 6,
> 7, and 8 should it really be still there in 9??
>
> Mike
>


-- 
DrMajorBob@yahoo.com

[toc] | [prev] | [next] | [standalone]


#5806 — Re: Ticks without labels

From"Roberto Cavaliere" <robcavaliere@gmail.com>
Date2011-10-23 10:23 +0000
SubjectRe: Ticks without labels
Message-ID<j80pu6$a6l$1@smc.vnet.net>
In reply to#5726
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@gmail.com]
Inviato: venerd=EC 21 ottobre 2011 12:24
A: mathgroup@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@gmail.com]
> Inviato: mercoled=EC 19 ottobre 2011 11:35
> A: mathgroup@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.
>
>



[toc] | [prev] | [next] | [standalone]


#5807 — Re: Ticks without labels

FromDrMajorBob <btreat1@austin.rr.com>
Date2011-10-23 10:24 +0000
SubjectRe: Ticks without labels
Message-ID<j80q04$a92$1@smc.vnet.net>
In reply to#5726
That doesn't work as written. It needs Frame -> True.

Bobby

On Sat, 22 Oct 2011 05:08:41 -0500, David Annetts  
<david.annetts@iinet.net.au> wrote:

> Hi Helen,
>
> You have this already, and have had for some versions.
>
> You can specify {tick, label, {+ve, -ve}} or {tick, label, length}
>
> Consider
>
> tik1 = {#, Style[ToString@#, FontColor -> Hue[#/11]], #/100} & /@
>     Range[1, 10];
> Plot[BesselJ[0, x], {x, 0, 10}, FrameTicks -> {tik1, Automatic}]
>
> Regards,
>
> d.
>
> On 21/10/2011 18:24, Helen Read wrote:
>> 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@gmail.com]
>>> Inviato: mercoled=EC 19 ottobre 2011 11:35
>>> A: mathgroup@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.
>>>
>>>
>>
>>
>


-- 
DrMajorBob@yahoo.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web