Re: Plotting Intervals on the numberline
- To: mathgroup at smc.vnet.net
- Subject: [mg19934] Re: Plotting Intervals on the numberline
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 22 Sep 1999 04:11:16 -0400
- Organization: Universitaet Leipzig
- References: <7s78i7$hsp@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
for the intervals [-2,9] and [12,23] you can use:
Show[Graphics[Line[{{#, 0}, {#2, 0}}] & @@@ {{-2, 8}, {12, 23}}]]
Colors for the interval and axes are up to you.
Regards
Jens
Jes Hansen wrote:
>
> How do I plot an interval, say [-2,8] on the numberline?
>
> -----
> Jes Hansen