Markers with ribbon

I want to have a plot with only markers on the mean and not on the ribbon. Example

using Plots

pgfplotsx()
plot(
    1:10,
    rand(10),
    ribbon = 0.1 * rand(1:10),
    markers = :auto
)
savefig("pgfplot.png")

gr()
plot(
    1:10,
    rand(10),
    ribbon = 0.1 * rand(1:10),
    markers = :auto
)
savefig("grplot.png")

Give
pgfplot
which is not what I want, rather I want
grplot
which GR produces. Plotly also has a similar issue. How do I specify markers are only put on the curve and not the ribbon?

1 Like