In [1]:
using Plots
In [2]:
y=rand(10);
In [3]:
example = () -> plot(
    plot(y),
    plot(y,seriestype=:scatter),
    plot(y,seriestype=:bar),
    plot(y,seriestype=:pie),
    layout=(2,2)
)
Out[3]:
(::#1) (generic function with 1 method)
In [4]:
gr(); example()
Out[4]:
2 4 6 8 10 0.1 0.2 0.3 0.4 0.5 0.6 y1 2 4 6 8 10 0.1 0.2 0.3 0.4 0.5 0.6 0.7 y1 2 4 6 8 10 0.0 0.1 0.2 0.3 0.4 0.5 0.6 y1 1 2 3 4 5 6 7 8 9 10
In [5]:
plotly(); example()