gplotmatrix problem in GUI
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear All,
I am using a gplotmatrix inside a GUI but when the I try to plot it in an Axes (axesPlot1) it is extending to all the screen (on top off all the other GUI components). Strangely, It does not happen with the plot. Is there a limitation in gplotmatrix?, How can I fix it?
Thanks a lot in advance.
Works:
axes(handles.axesPlot1);
plot(cell2mat(Aata(:,[2])),cell2mat(Aata(:,[3])));
Does not work:
axes(handles.axesPlot1);
gplotmatrix(cell2mat(Aata(:,[2 3 4])), cell2mat(Aata(:,[5 6 7])), Aata(:,[8]));
댓글 수: 0
채택된 답변
Tom Lane
2013년 4월 11일
The gplotmatrix function plots into multiple axes (a rectangular array of them), so I don't see how to make sense of asking it to plot into one set of axes.
You could try getting the handles to the axes that gplotmatrix creates (returned as the second and third outputs), and adjust their position properties to fit in the area you have available.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!