In [ ]:
using Plots
gr(size=(400,300))
y = rand(10)
Y = rand(10,4)
In [ ]:
# make a custom shape (triangle pointing to the right)
shape = Shape([(-1,-1),(1,0),(-1,1)])
plot(y, marker = (shape, 20, 0.3))
In [ ]:
# adding data
p = plot(y)
for i=1:10
push!(p,1,rand()+1)
end
p
In [ ]:
# subplots
subplot(Y,layout=[1,3])
In [ ]:
# grid lines
plot(y, grid=false)
In [ ]:
# NaNs
plot(vcat(1:10, NaN, 12:21), vcat(y,NaN,y))
In [ ]:
# ticks
plot(y, xticks=[1,2], yticks=0:0.5:1, xlim=(1,2))
gui()
In [ ]:
using NeuralCircuits
plot(lstm(1,1,1))
In [ ]:
In [ ]: