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

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

Search the Archive

Re: Plotting Intervals on the numberline

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19956] Re: [mg19912] Plotting Intervals on the numberline
  • From: BobHanlon at aol.com
  • Date: Wed, 22 Sep 1999 04:11:28 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Jes,

intvl = Interval[{-2, 8}];

Plot[0, {x, -5, 10}, PlotRange -> {Automatic, {-0.2, 1}}, AspectRatio -> 1/8, 
    Ticks -> {Automatic, None}, 
    Epilog -> {RGBColor[1, 0, 0], AbsoluteThickness[2], 
        Line[{{intvl[[1, 1]], 0}, {intvl[[1, 2]], 0}}]}];

Bob Hanlon

In a message dated 9/21/1999 7:51:08 AM, Whammer.antispam at post9.tele.dk 
writes:

>How do I plot an interval, say [-2,8] on the numberline?


  • Prev by Date: Re: Plot, Table.
  • Next by Date: Re: Re: Limits of multi-var. functions
  • Previous by thread: Plotting Intervals on the numberline
  • Next by thread: Re: Plotting Intervals on the numberline