The Presentations Application has CustomTicks and NoTicksLabel commands.
The easiest method to specify plots without tick labels would be as follows:
<< Presentations`
testplot = Plot[Sin[x], {x, 0, 2 \[Pi]},
Frame -> True]
Write CustomTicks without labels and use them in the plot.
xticks = CustomTicks[Identity, {0, 7, 1, 5}] // NoTickLabels;
yticks = CustomTicks[Identity, {-1, 1, 0.5, 5}] // NoTickLabels;
Plot[Sin[x], {x, 0, 2 \[Pi]},
Frame -> True,
FrameTicks -> {xticks, yticks}]
Here the Identity in the CustomTicks command specifies that the tick
positions will be the same as the underlying coordinates. (Otherwise we
could use a function that generates custom tick marks.) The list {0, 7, 1,
5} means to make ticks from 0 to 7 in steps of 1 with 5 subdivisions for
small ticks. So you have to specify the ticks but it is not tedious.
We can try to let Mathematica automatically generate the ticks and then use
NoTickLabels to suppress the labels.
testplot = Plot[Sin[x], {x, 0, 2 \[Pi]},
Frame -> True];
specialticks =
FrameTicks /. AbsoluteOptions[testplot, FrameTicks] //
NoTickLabels;;
Show[testplot, FrameTicks -> specialticks]
This does not work properly as the length of the ticks are not the same as
in the original plot, nor are the y ticks the same!
step1=FrameTicks/. AbsoluteOptions[testplot,FrameTicks];
step1[[2]]//Column
The original plot has major y divisions spaced by 0.5, but using
AbsoluteOptions gives divisions spaced by 0.25. It is easier here to use
CustomTicks than to mess with Mathematica features.
David Park
djm...@comcast.net
http://home.comcast.net/~djmpark/index.html