Re: FrameTicks bug
- To: mathgroup at smc.vnet.net
- Subject: [mg58635] Re: [mg58630] FrameTicks bug
- From: "David Park" <djmp at earthlink.net>
- Date: Mon, 11 Jul 2005 04:19:21 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Option 1: Make up a Table of the ticks using the information in the Ticks Help. Do you also want the small intermediary tick marks? Then don't forget to include them. Do you want ticks with no values on the opposite sides? Then make up tables for them. Option 2: Needs["DrawGraphics`DrawingMaster`"] Plot[Sin[x], {x, 0, 10}, Frame -> True, FrameTicks -> {None, CustomTicks[Identity, {-1, 1, 0.5, 5}], CustomTicks[Identity, {0, 10, 2, 5}], None}, ImageSize -> 500]; That creates the big (labeled) and small (unlabeled) ticks on the left and top sides, but no ticks on the right and bottom sides. If you want unlabeled ticks on the right and bottom use... Plot[Sin[x], {x, 0, 10}, Frame -> True, FrameTicks -> {CustomTicks[Identity, {0, 10, 2, 5}, CTNumberFunction -> ("" &)], CustomTicks[Identity, {-1, 1, 0.5, 5}], CustomTicks[Identity, {0, 10, 2, 5}], CustomTicks[Identity, {-1, 1, 0.5, 5}, CTNumberFunction -> ("" &)]}, ImageSize -> 500]; David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: AES [mailto:siegman at stanford.edu] To: mathgroup at smc.vnet.net Well, I guess it's not actually a bug, but . . . FrameTicks -> {Automatic, Automatic, None, None} puts tick marks AND numerical labels on bottom and left edges. FrameTicks -> {None, Automatic, Automatic, None} puts tick marks and numerical labels on left edge, tick marks and NO NUMERICAL LABELS on top edge. How can I put the same Automatic numbers that would have been created for the bottom edge, on the top edge?