[ANN] Gaston v1.0.0 -- Plotting using gnuplot

Thanks!

I don’t think gnuplot has a 1:1 zoom mode. One way to achieve something similar would be to plot using the “points” style (that is, plot only the markers), and select as marker a “dot”, which is a single pixel:

x = y = -15:0.4:15
f1 = (x,y) -> @. sin(sqrt(x*x+y*y))/sqrt(x*x+y*y)
surf(x, y, f1, w = :p, marker = "dot", Axes(hidden3d = :on))

pixels
Here, every dot on the plot is one data point. If the pixels are too small to see, you can use “full circle” markers and set the size appropriately.

Yes, this is supported by Gnuplot. When plotting to the screen using a terminal such as qt, you can zoom and pan using the mouse. In 3-D mode, you can also rotate and scale the surface.

EDIT: forgot to add: when plotting to a browser, some mouse interactivity is provided by the “svg” terminal with the “mouse” option.

These are features I don’t use much myself; if you try them out, please file an issue if you find any problems.

1 Like