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

**URL:** <https://discourse.julialang.org/t/ann-gaston-v1-0-0-plotting-using-gnuplot/40958>\
**Category:** Package Announcements\
**Tags:** plotting, gnuplot, gaston\
**Created:** [June 7, 2020, 11:03pm UTC](https://discourse.julialang.org/t/ann-gaston-v1-0-0-plotting-using-gnuplot/40958 "2020-06-07T23:03:35Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mbaz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbaz/32/17295_2.png) [@mbaz](https://discourse.julialang.org/u/mbaz)\
**Post date:** [June 8, 2020, 1:49pm UTC](https://discourse.julialang.org/t/ann-gaston-v1-0-0-plotting-using-gnuplot/40958/3 "2020-06-08T13:49:46Z")

</div>

Thanks!

> [@RoyiAvital](#):
>
> is there a way to set the view to 1:1 mode?

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:

```julia
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](https://global.discourse-cdn.com/julialang/original/3X/9/f/9fb8b408eb23d294705f37a20500320fdf0ff77b.png)  
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.

> [@RoyiAvital](#):
>
> Is there a potential / way for interactivity with the data?

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.

---

_[View the full topic](https://discourse.julialang.org/t/ann-gaston-v1-0-0-plotting-using-gnuplot/40958)._
