MathGroup Archive 2007

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

Search the Archive

Re: Plot a number line

  • To: mathgroup at
  • Subject: [mg79731] Re: Plot a number line
  • From: michael.p.croucher at
  • Date: Fri, 3 Aug 2007 06:21:56 -0400 (EDT)
  • References: <f8s1tv$1l$>

 > For example, I would like a number line with starting and ending
> arrows pointing to negative and positive infinity, with the numbers
> -10, -9, ..., 8, 9, 10 printed on the line. I would like just the tick
> marks at integer markings. This is meant to be a template for students
> to graph the solution set to an inequality on it.

Hi Diana

When I saw your query I thought that I would have a go at putting
something together for you and then maybe expanding on it a little and
producing a Wolfram Demonstration from it (since I am getting addicted
to Manipulate).  Before I started I had a quick search of the
demonstrations project to ensure I was not about to reinvent the wheel
and came up with the following.

Download the source code for it and you are basically done apart from
the arrows you wanted.  I love looking at the source code from these
demos because I see so many different styles of coding and I am
learning loads from them.  Anyway - enjoy.


  • Prev by Date: Re: Plot a number line
  • Next by Date: Re: Paul Abbott Chebyshev Article
  • Previous by thread: Re: Plot a number line
  • Next by thread: Re: Plot a number line