开发者

How to present points on axes in Matlab

开发者 https://www.devze.com 2023-03-13 22:02 出处:网络
I have two vectors of the same 开发者_如何学Pythonlength and I\'d like to treat the first as X values and the second as Y values and present (x,y) points on a graph.

I have two vectors of the same 开发者_如何学Pythonlength and I'd like to treat the first as X values and the second as Y values and present (x,y) points on a graph.

How do I do this simple thing in Matlab?

Thanks!!!


It seems that it is just plot(x, y) what you need.

For example to plot 'dots' use plot(x, y, '.'). For more examples of markers to use, see the attached link.

0

精彩评论

暂无评论...
验证码 换一张
取 消