In Julia, I can provide a color as an Int. For example, this works:
Using Plots()
# Using gr backend
gr()
x = [1,2,3]
y = [1,2,3]
cols = [1,2,3]
scatter(x,y, markercolor = cols, leg = false)
If I want to change the shape, I can provide the following:
shapes = [:hex, :circle, :hex]
scatter(x, y, markershape = shapes, markercolor = cols, leg = false)
But it seems I cannot provide marker shapes as an Int!
shapes = [1, 2, 3]
scatter(x, y, markershape = shapes, markercolor = cols, leg = false)
Is there any easy way to provide Int's for shapes in Plots? Or nice way to convert Ints to shapes?