Nov*_*per 3 matlab plot scatter-plot
请考虑以下数据点和图表
a = randi(50,1,200);
b = randi(50,1,200);
figure;scatter(a,b,'.')
figure;plot(a,b,'.')
Run Code Online (Sandbox Code Playgroud)
当我们运行以下代码时,我们会收到针对b的完全相同的情节,我的问题是为什么我们甚至应该使用或重新改写在什么条件下scatter情节优于plot函数?因为plot似乎有更多格式化选项的scatter功能