#### Topic: Graphing Real Number Lines

Ivan Johansen

In: Edit > Axes > Axes style. Could you add a radio button that would allow you to hide the y-axis, and add an arrow pointing left onto the left endpoint of the x-axis?

Sam

You are not logged in. Please login or register.

Graph Forums → Development → Graphing Real Number Lines

Ivan Johansen

In: Edit > Axes > Axes style. Could you add a radio button that would allow you to hide the y-axis, and add an arrow pointing left onto the left endpoint of the x-axis?

Sam

I will consider it.

If you use the latest beta version of Graph and has Python 3.2 installed you will be able to press F11 to get a Python interpreter where you can write the following to hide the y-axis and show an arrow on the left side of the x-axis:

```
Graph.Axes.yAxis.Visible=False
Graph.Axes.xAxis.ShowNegativeArrow=True
```

Thanks!

Here's another way to do what you want:

First move the y-axis to cross the x-axis at a large value that is outside the extent of the window. Then make a tiny function f(x)=0 and make its range right at the edge of the window and give it an arrow end. This does everything you want it to except that the arrow is a slightly different shape.

See the attached file for an example.

Hope this is helpful!

-James

Extending on the OP, can Graph be made to draw one-dimensional inequalities on a real number line?

There doesn't seem to be any solution to this problem. Neither Mathematica nor Maple has this feature. (It can be done, but not without some serious programming.)

If Graph could do this, then it would not only benefit all of us users, but also make it further stand out as one of the few easy-to-use graphing programs out there.

Isn't a one dimentianal inequality just a horizontal line? Graph can do that. And you can use endpoints to indicate if the ends are included or not.

The proposed solution is rigid and not much customization is possible. For example:

1. The tick mark over 0 is usually taller than the others on number line graphs.

2. Many algebra textbooks use brackets instead of dots for the endpoints. (See attachments.)

3. For compound inequalities, it's sometimes helpful to draw 2 inequalities on the same number line. (They are both drawn above the number line on top of each other so none of the lines overlap. See attachments.)

Being able to easily customize the picture's appearance is one of Graph's many strengths. Dedicated options for one-dimensional inequalities would be a welcome addition to a future version of Graph.

I use Graph all the time to make diagrams for the math classes I teach. It's an excellent program and I hope to see it become even better in the future!

1. Currently all tick marks are shown as the same.

2. Graph can show brackets but not square brackets as end points.

3. You can use functions with endpoints as inequalities.

I have attached a file that shows a way to do this. I might try to improve this in the future.

Thank you very much. It would definitely be helpful to have options built into the UI for this purpose. It's possible to improvise some one-dimensional inequalities, but many users would not be able to figure it out. Maybe you could have a 1D-mode and a 2D-mode. Of course, 2D-mode would be the default.

By the way, is there a suggested donation amount for this program?

frame_of_mind wrote:

By the way, is there a suggested donation amount for this program?

No, my suggestion is: The more the better

But any donation is appreciated.

Graph Forums → Development → Graphing Real Number Lines

Powered by PunBB, supported by Informer Technologies, Inc.

Generated in 0.039 seconds (71% PHP - 29% DB) with 11 queries