How to change values on axes

Hello everyone!

Im trying to develop a neural network using Julia.

But im having trouble plotting the values
I can reduce my problem and I can propose the next one:
I dont want to have the x axis from 0 to 200(which are the number of points in S_plot) I want to have in the x axis the values of S_plot(which are 200 point from 0 to 2)
How can I do it? Thanks in advance

plot(0:2:200, 0:2:200, xticks = (0:2:200, string.(0:2:200)), xrot = 90, label = "")

produces:

image

2 Likes

Yes, after seeing your reply I think I just need to swap the axis, so your anwser is good.
Thanks!!