MathGroup Archive 1999

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

Search the Archive

Re: Plotting Intervals on the numberline


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


  • Prev by Date: Re: Re: Fast List-Selection
  • Next by Date: Unit conversion and Bode Plots
  • Previous by thread: Re: Plotting Intervals on the numberline
  • Next by thread: A (little?) problem in Number Theory