Simulink - Scatter graph
조회 수: 7 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Fangjun Jiang
2011년 12월 13일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!