General ⇒ Plotting Inequalities on a number Line
Plotting Inequalities on a number Line
Using the interval command (in the cooordsys package), you can plot them on a number line, but if you put two interval commands, they are plotted one on top of the other. Can you plot them one above the other, like you would on paper?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Plotting Inequalities on a number Line
Re: Plotting Inequalities on a number Line
But the region appears to be further right than it should be.
If you put a region on the line, and then repeat it above with the raisebox command, then the line is in the right place.
However, if you then attempt two regions, one above the other, then at least one is out of place.
Obviously, I could put in smaller values, so it appears in the right place, but this isn't ideal.