MathGroup Archive 1999

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

Search the Archive

Re: Plotting Intervals on the numberline


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