필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

adding a undo button to Spline Drawing Tool (spltool)

조회 수: 1 (최근 30일)
32sthide
32sthide 2013년 1월 9일
마감: MATLAB Answer Bot 2021년 8월 20일
Has anyone here ever used the spline drawing tool in file exchange?
I've tried something like this, I found online,
function undo_plot(h, n)
% UNDO_PLOT Undo last 'n' plotting operations.
if nargin == 1
n = 1;
end
if n < 1
error('Can''t undo < 1 plotting operation!');
end
figure(h);
children = get(gca, 'children');
for i = 1 : n
delete(children(i));
end

답변 (0개)

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by