I'd like to plot some function f(x) where f(x) = x for 0 <= x <= a, and -2 otherwise. And I'd to plot it on a graph with x axes between two arbitrary points.
How would I go about doing this with gnuplot?
|
I'd like to plot some function f(x) where f(x) = x for 0 <= x <= a, and -2 otherwise. And I'd to plot it on a graph with x axes between two arbitrary points. How would I go about doing this with gnuplot? |
|||
|
|