Re: strange problem with tickmarks
- To: mathgroup at smc.vnet.net
- Subject: [mg19397] Re: [mg19372] strange problem with tickmarks
- From: BobHanlon at aol.com
- Date: Mon, 23 Aug 1999 13:57:12 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Martin, $Version "4.0 for Power Macintosh (April 20, 1999)" The tick mark for the left frame side shows up with version 4 on my Mac. However, - Your rule for Frame should just be Frame -> True - Your ticks1 and ticks3 are outside of the range for x - Your labels for the bottom, left, and top frame sides are too close to your tick labels and should be spaced using "\n" - You have specified tick lengths which are slightly shorter than the standard major ticks (0.006 vice 0.00625). If you want the tick marks to be more prominant, make them longer and have them cross the frame edges - It is easier to see the ticks if you increase the ImageSize Plot[x*3, {x, 0, 10}, Frame -> True, FrameLabel -> {"\na", "b\n", "c\n", "d"}, FrameTicks -> {{{5, "tick1", {0.01, 0.01}, {GrayLevel[0.], AbsoluteThickness[0.25]}}}, {{17, "tick2", {0.01, 0.01}, {GrayLevel[0.], AbsoluteThickness[0.25]}}}, {{5, "tick3", {0.01, 0.01}, {GrayLevel[0.], AbsoluteThickness[0.25]}}}, {{12, "tick4", {0.01, 0.01}, {GrayLevel[0.], AbsoluteThickness[0.25]}}}}, ImageSize -> {400, 248}]; Bob Hanlon In a message dated 8/21/99 5:32:13 AM, martin.stockhammer at visualanalysis.com writes: >i am working with Mathematica 4.0. >I plot the following function: >Plot[x*3, {x, 0, 10}, Frame -> {True, True, True, True}, > FrameLabel -> {"a", "b", "c", "d"}, > FrameTicks -> {{{12, > "tick1", {0.006, 0}, {GrayLevel[0.], >AbsoluteThickness[0.25]}}}, {{17, > "tick2", {0.006, 0}, {GrayLevel[0.], > AbsoluteThickness[0.25]}}}, {{12, > "tick3", {0.006, 0}, {GrayLevel[0.], > AbsoluteThickness[0.25]}}}, {{12, > "tick4", {0.006, 0}, {GrayLevel[0.], >AbsoluteThickness[0.25]}}}}] > >The problem is now, that the tickmark on the left edge does not appear. >If I set >a number (for example 1.7) as label, the tickmark can be seen. >It seems as if the graphics-directive of the string overwrites the >graphic directive >of the tickmark. >The problem is specific for Mathematica 4.0. In Mathematica 3.0 there is >no such problem. >Does anyone know, how this can be solved? >