MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Rotating tick marks

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29771] RE: [mg29756] Rotating tick marks
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sun, 8 Jul 2001 01:00:14 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Catherine,

I am guessing that your displeasure is with a plot something like the
following:

f[a_][x_] := a Sin[x]

Plot[f[1.33*^-7][x], {x, 0, 7}, Frame -> True,
   FrameLabel -> {x, y}];

The scientific notation takes up a lot of space and is redundent. But I
don't see how rotating the labels would help because then the labels would
overlap or at least be crowded. In this case, one way to handle the problem
is to scale the tick labels and put the scaling factor in the y axis label.
That is the way that many plots are labeled in scientific journals.

Plot[f[1.33*^-7][x], {x, 0, 7}, Frame -> True,
    FrameTicks -> {Automatic, Table[{i 10^-8, i}, {i, -10, 10, 5}],
Automatic,
         Automatic},
    FrameLabel -> {x, "y × 10^7"}];

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/


> From: Catherine Neish [mailto:cdneish at interchange.ubc.ca]
To: mathgroup at smc.vnet.net
>
> Hi there.
>
> I have created a 2D graphic in which I specified the tick marks on the
> y-axis.  These tick labels are relatively long, and "stick out"
> horizontally
> from the frame.  Is there any way to rotate them?  As it is right now, the
> figure has a large amount of unnecessary white space surrounding it due to
> these ticks.
>
> I tried to use RotateLabel, but I believe that only applies to the frame
> labels.  Any help you could provide on this matter would be greatly
> appreciated.
>
> Sincerely,
>
> Catherine Neish
>
>
>



  • Prev by Date: RE: Partitioning 1-D list into 2-D Matrix
  • Next by Date: Re: a couple of gripes
  • Previous by thread: Rotating tick marks
  • Next by thread: Re: Rotating tick marks