Re: How to show tick labels w/o showi the tick marks?
- To: mathgroup at smc.vnet.net
- Subject: [mg90453] Re: How to show tick labels w/o showi the tick marks?
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Thu, 10 Jul 2008 06:32:44 -0400 (EDT)
- References: <g51ua9$6rf$1@smc.vnet.net>
Aaron Fude schrieb:
> I guess my subject says it all.
>
> I can hide the ticks themselves my making them transparent, but that
> also makes the labels disappear. How to fix this?
>
> Thanks!
>
> Aaron
>
I think you habe to place the labels manually:
tp = ({#1, -0.2} & ) /@ Range[-Pi, 2*Pi, Pi/2];
tt = DeleteCases[Text[#[[1]], #] & /@ tp, Text[0, _]];
Plot[Sin[x], {x, -\[Pi], 2 \[Pi]}, Epilog -> tt,
Ticks -> {None, Automatic}]
Gruss Peter
--
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de