Re: Drawing tick labels without ticks
- To: mathgroup at smc.vnet.net
- Subject: [mg80607] Re: Drawing tick labels without ticks
- From: Helen Read <hpr at together.net>
- Date: Sun, 26 Aug 2007 23:14:20 -0400 (EDT)
- References: <far9qs$4bp$1@smc.vnet.net>
- Reply-to: HPR <read at math.uvm.edu>
D. Grady wrote:
> Can anyone suggest a simple method for keeping tick labels in a graph
> without also drawing axes or the ticks themselves? As an example,
>
> ListPlot[{1, 2, 3, 4, 5}, AxesStyle -> Opacity[0], TicksStyle ->
> Opacity[1]]
>
> comes close to what I'm after, but doesn't quite get there. I'd like
> for nothing to appear in the plot except the data points and the tick
> labels.
Is this close to what you want?
ListPlot[{1, 2, 3, 4, 5}, AxesStyle -> White, TicksStyle -> Black,
Ticks -> {Range[5], Range[5]}, AxesOrigin -> {0, 0}]
--
Helen Read
University of Vermont