matlab鼠標拖動圖形代碼

function test() clear clc figure(); plot((1:0.5:10)',sin(1:0.5:10)'*(1:10),...     'LineWidth',3,'ButtonDownFcn', @bdfcn); drawnow haxes=gca;hfigure=gcf; haxes.XLimMode='manual'; haxes.YLimMode='manua
相關文章
相關標籤/搜索