Re: Plot a number line
- To: mathgroup at smc.vnet.net
- Subject: [mg79731] Re: Plot a number line
- From: michael.p.croucher at googlemail.com
- Date: Fri, 3 Aug 2007 06:21:56 -0400 (EDT)
- References: <f8s1tv$1l$1@smc.vnet.net>
> 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. http://demonstrations.wolfram.com/NumberLines/ 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. Mike