two plots in same GUI
조회 수: 8 (최근 30일)
이전 댓글 표시
a = [2 3 7];
plot3(a(1),a(2),a(3),'r.')
a = [6 3 4];
plot3(a(1),a(2),a(3),'r.')
I have to plot this both 3D plots in different figures in same GUI.
so, below each plot3 commant what line i have to write to do this..
I understand that something like
set(handles.axes1)
and
set(handles.axes2)
may be, but give me an exact command.
댓글 수: 0
채택된 답변
Walter Roberson
2012년 12월 25일
댓글 수: 4
Walter Roberson
2012년 12월 25일
Then just follow the instructions from the link I gave, to parent the plot3() against the appropriate axes.
a = [2 3 7];
plot3(FirstAxesHandle, a(1), a(2), a(3), 'r.')
or
plot3(a(1), a(2), a(3), 'r.', 'Parent', FirstAxesHandle)
추가 답변 (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!