Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个长度相同的向量,我想将第一个向量视为 X 值,将第二个向量视为 Y 值,并在图表上显示 (x,y) 点。
我如何在 Matlab 中做这个简单的事情?
谢谢!!!
看来这只是您需要 的plot(x, y) 。
例如绘制“点”使用plot(x, y, '.'). 有关要使用的标记的更多示例,请参阅随附的链接。
plot(x, y, '.')