![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/925304/image.jpeg)
Does not plot all the points
14 次查看(过去 30 天)
显示 更早的评论
So I am trying to plot a lot of data (5779x5779), but looks like the graph only takes few points. Does someone knows why is this happening?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/925284/image.png)
code:plot(s3,x5mV)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/925289/image.jpeg)
It should look like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/925294/image.png)
0 个评论
采纳的回答
Simon Chan
2022-3-13
(1) Use function scatter instead of plot
(2) Some of the header or some other information were saved in the mat file ( I guess from #5723).
load('variable_5V.mat');
load('variable_s3.mat');
s=scatter(s3(1:5722),x5mV(1:5722),2); % I select the first 5722 data only
grid on;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/925304/image.jpeg)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!