Simulink - Scatter graph
显示 更早的评论
Hi, I have a simulink model that has an xy error output relating to tracking a object. I was wondering if there was a way to create a scatter like diagram to display visually where we are pointing in relation to 0,0. There seems to be no way to edit the XY graph. I'm not 'new' to simulink but this has really stumped me.
Also is it possible to add a grid to the back of the XY plot? It seems simulink plotting is very cruel.
Any help would be great :)!
回答(1 个)
Fangjun Jiang
2011-12-13
0 个投票
I would save the data using "To Workspace" block or other data logging method and then plot() in MATLAB.
Or if you have MATLAB R2011b, you might be able to get the scatter effect directly in Simulink. http://blogs.mathworks.com/seth/2011/09/14/how-to-customize-the-simulink-scope-take-2/
类别
在 帮助中心 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!