Re: How to show tick labels w/o showi the tick marks?
- To: mathgroup at smc.vnet.net
- Subject: [mg90523] Re: How to show tick labels w/o showi the tick marks?
- From: "David Park" <djmpark at comcast.net>
- Date: Fri, 11 Jul 2008 02:06:58 -0400 (EDT)
- References: <g51ua9$6rf$1@smc.vnet.net>
With the Presentations package you can define custom Ticks without the tick
marks by:
Needs["Presentations`Master`"]
With[
{xticks = CustomTicks[Identity, {0, 2 \[Pi], \[Pi]/2, 1}, CTTickSpecs ->
{0, 0}],
yticks = CustomTicks[Identity, {-1, 1, 1, 1}, CTTickSpecs -> {0, 0}]},
Plot[Sin[x], {x, 0, 2 \[Pi]},
Frame -> True,
PlotRange -> {{-.1, 6.38}, {-1.1, 1.1}},
FrameTicks -> {{yticks, None}, {xticks, None}}]
]
--
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/
"Aaron Fude" <aaronfude at gmail.com> wrote in message
news:g51ua9$6rf$1 at smc.vnet.net...
>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
>