Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Re: ListPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25038] Re: ListPlot
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Fri, 1 Sep 2000 21:57:45 -0400 (EDT)
  • References: <8onfe5$oq1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

data = Table[{x, Sin[x]}, {x, 0, 2Pi, Pi/6.0}]

xticks = Table[{x, x}, {x, 0, 2Pi, Pi/2}]

ListPlot[data, PlotJoined -> True, Frame -> True,
  FrameTicks -> {xticks, Automatic, None, None}]

--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Brett12 28" <brett1228 at aol.com> wrote in message
news:8onfe5$oq1 at smc.vnet.net...
>
> Could someone tell me how to change the frameticks so they're in pi
instead of
> numbers?
>
> I want the X-axis, instead of going 1 2 3 4 5 to go in terms of Pi/2
>
> I'd appreciate in e-mail at BrettSauerwein at hotmail.com
>
> Thanks
>
> BS
>




  • Prev by Date: Re: ListPlot
  • Next by Date: Simple integral wrong
  • Previous by thread: Re: ListPlot
  • Next by thread: Re: ListPlot