Pixel plots in GR.jl

Hello everyone,

I am trying to plot a pixel series in GR which might look something like this:

Figure_1

In pyplot it is achieved by adding a ',' in the plot command (something like: ax.plot(x, y, ',')). In GR, I am currently achieving this by plotting a scatter plot with extremely small marker size and removing its borders.

Is there any way to do so in GR natively (without using the markersize hack) as we do in pyplot?

using GR
x = LinRange(0,8π,1000)
plot(x, sin.(x), ".")

1 Like

Thanks @jheinen :raised_hands::heart: