how to cut the x axis in matlab
how to cut the x axis in matlab
(OP)
Hello. I would like to plot a graph in Matlab with the x axis from 8 to 18 bu with two sections, one from 8 to 10 and other from 16 to 18. I would like to skip the part from 10 to 16 making a mark or a curve.
I don't know if you understand what I want, it's not easy to explain it.
Anyway, thank you
I don't know if you understand what I want, it's not easy to explain it.
Anyway, thank you





RE: how to cut the x axis in matlab
x = 1:10
y = rand(1,10)
x([6 7]) = NaN
plot(x,y)
M
--
Dr Michael F Platten
RE: how to cut the x axis in matlab
Something like this ----//----
I want to put is two bent lines cutting the line of the axis.
I hope you understand me.
Thank you
RE: how to cut the x axis in matlab
RE: how to cut the x axis in matlab
I want and x axis with only these 6 ticks:
8 9 10 // 16 17 18