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


Groups > comp.soft-sys.math.mathematica > #10044

Re: ticks but no numbers on the axes

From "djmpark" <djmpark@comcast.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: ticks but no numbers on the axes
Date 2012-05-12 08:56 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jol8kl$486$1@smc.vnet.net> (permalink)
References <13330996.4498.1336710415338.JavaMail.root@m06>

Show all headers | View raw


With the CustomTicks and NoTickLabels functions in the Presentations
Application this is easy.

<< Presentations` 

xticks = CustomTicks[Identity, {0, 2 \[Pi], \[Pi]/4, 4}];
yticks = CustomTicks[Identity, {-1, 1, 0.5, 5}];
Plot[Sin[x], {x, 0, 2 \[Pi]},
 Frame -> True,
 FrameTicks -> ({{yticks, yticks}, {xticks, xticks}} // NoTickLabels)] 


David Park
djmpark@comcast.net 
http://home.comcast.net/~djmpark/index.html 


From: Darau, M. [mailto:M.Darau@tue.nl] 


Hello,

Is it possible to have a plot with no numbers on the axes, and this while
keeping the ticks? I know that "Ticks->None" in a plot, removes both ticks
and tick-labels.
Thanks!

Mirela

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: ticks but no numbers on the axes "djmpark" <djmpark@comcast.net> - 2012-05-12 08:56 +0000

csiph-web