**0**

votes

**1**answer

720 views

### Plotting functions with gnuplot over a larger range than the function is defined for

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 ...

**-1**

votes

**1**answer

547 views

### Gnuplot output cropped when changing aspect ratio regardless of terminal type

Gnuplot doesn't usually provide me with such problems, but when I set the aspect ratio manually, or with 'set size square' the top part of the plot is cut/cropped off. Doesn't matter if term is aqua, ...