MathGroup Archive 2002

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

Search the Archive

FrameTick Problem


Can anyone help with this ?

Here is the FrameTick example from the online help.

Plot[Sin[x], {x, 0, 2  Pi}, Frame -> True,  FrameTicks -> {{0, Pi/2,
Pi, 3  Pi/2, 2  Pi}, {-1, 0, 1}}]

So far, so good.

Now what if you want to change the y axis FrameTicks so that they
range from say -2 to 2 instead of -1 to 1. So one would believe that
the FrameTicks option would  be changed accordingly but the command
below does not accomplish this.

Plot[Sin[x], {x, 0, 2  Pi}, Frame -> True,  FrameTicks -> {{0, Pi/2,
Pi, 3  Pi/2, 2  Pi}, {-2, 0, 2}}]

Can someone explain why this does not work and what would ?

Thanks

Steve



  • Prev by Date: Re: Solve weirdness again
  • Next by Date: Problem with entering text into a mathematica notebook by VB or QuicKeys
  • Previous by thread: Re: Creating My Package?
  • Next by thread: Re: FrameTick Problem