Try scatter(x,y.(x)) dots after function names (.) make functions broadcast (be applied element-wise)
5 Likes
Try scatter(x,y.(x)) dots after function names (.) make functions broadcast (be applied element-wise)