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?