Tutorial plot transformation



using AbstractPlotting

data = rand(10)

scene = Scene()
st = Stepper(scene, "output")
lineplot = lines!(scene, data)[end]    # gets the last defined plot for the Scene
scatplot = scatter!(scene, data)[end]  # same thing but the last defined plot is scatter
step!(st)

rotate!(lineplot, 0.025π) # only the lines are rotated, not the scatter
step!(st)
st