Simulink - Scatter graph
7 views (last 30 days)
Show older comments
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 :)!
0 Comments
Answers (1)
Fangjun Jiang
on 13 Dec 2011
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/
0 Comments
See Also
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!