Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: FrameTick Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35107] Re: FrameTick Problem
  • From: Mars.bbs at bbs.dartmouth.edu (FangQ)
  • Date: Tue, 25 Jun 2002 03:40:11 -0400 (EDT)
  • Organization: BigGreen BBS
  • Sender: owner-wri-mathgroup at wolfram.com

I think the problem is ur PlotRange keeps from -1~1, u can get the 
FrameTicks if u increase the range, try this:

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

>>-------  qualsystems*  wrote:
: 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: Finding a formula for a sum
  • Next by Date: Re: FrameTick Problem
  • Previous by thread: Re: FrameTick Problem
  • Next by thread: Re: FrameTick Problem