I would like to remove the numbering on the axes of the following RegionPlot
. I would like to keep the tick marks but drop the numbering, I haven't figured out how to do this from the documentation.
Answer
An even simpler way that does not require you to figure out the tick positions, is to set the tick font opacity to 0
and the tick font size to 0
to avoid the excess margin where the ticks would have been. Here's an example:
RegionPlot[Sin[x y] > 0, {x, -1, 1}, {y, -1, 1},
FrameTicksStyle -> Directive[FontOpacity -> 0, FontSize -> 0]]
Alternately, you could also use FontColor -> White
, but note that it won't work with all backgrounds.
Comments
Post a Comment