RE: frameticks without numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg29348] RE: [mg29320] frameticks without numbers
- From: "David Park" <djmp at earthlink.net>
- Date: Thu, 14 Jun 2001 02:27:25 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Matt, Use the FrameTicks option and specify the values as empty strings. xticks = Table[{x, ""}, {x, 0, 2 Pi, Pi/4}]; yticks = Table[{y, ""}, {y, -1, 1, 0.25}]; Plot[Sin[x], {x, 0, 2 Pi}, Frame -> True, FrameTicks -> {xticks, yticks}]; In some cases you may wish to use generic labels as in the following. xticks = Table[{x, ""}, {x, 0, 2 Pi, Pi/4}]; yticksLeft = MapThread[List, {{-1, 0, 1}, {-A, 0, A}}]; yticksRight = Table[{y, ""}, {y, -1, 1, 1}]; Plot[Sin[x], {x, 0, 2 Pi}, Frame -> True, FrameTicks -> {xticks, yticksLeft, xticks, yticksRight}]; David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ > From: mj [mailto:matt_johnson at my-deja.com] To: mathgroup at smc.vnet.net > > I've made a qualitative plot and don't care to show numbers on the > axes/frame. Is there an easy way to keep the tickmarks while omitting > the numbers? > > Thanks. > > matt >