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
相关文章
相关标签/搜索