On Sun, 18 Feb 2007 13:00:28 -0500 (EST)
dav...@ya... wrote:
> I want to plot functions in "American High School" style, for want of a better term.
> Here is what a typical plot in this style would look like. The x-axis (y=0) and the y-axis
> (x=0) are thicker than the other grid lines, and they have arrow heads pointing right and
> up, respectively. The labels 'x' and 'y' are placed next to the arrow heads. Axis labels,
> if present, are placed on the coordinate axes, not along the sides of the grid.
For the grid, try "set grid", and to get only the x-y axis, try "set border 3" (using the correct xrange and yrange). Of course, grid also has options like linetype and linewidth.
The arrows on the axis are a little trickier, in fact, I don't know an elegant way to do it. One possibility is to simply use the arrow command, like:
set arrow from 0,0 to xmax,0 lw 2
set arrow from 0,0 to 0,ymax lw 2
However, this requires that you set the limits manually.
Let me know if this is what you wanted,
Till
|