資源簡介
magnify.m 用于MATLAB的放大插件。。用法鏈接:https://jingyan.baidu.com/article/6fb756ec6dc922241858fb19.html
代碼片段和文件信息
function?magnify(f1)
%
%magnify(f1)
%
%??Figure?creates?a?magnification?box?when?under?the?mouse
%??position?when?a?button?is?pressed.??Press?‘+‘/‘-‘?while
%??button?pressed?to?increase/decrease?magnification.?Press
%??‘>‘/‘<‘?while?button?pressed?to?increase/decrease?box?size.
%??Hold?‘Ctrl‘?while?clicking?to?leave?magnification?on?figure.
%
%??Example:
%?????plot(1:100randn(1100)(1:300)/3rand(1300))?grid?on
%?????magnify;
%?Rick?Hindman?-?7/29/04
if?(nargin?==?0)?f1?=?gcf;?end;
set(f1?...
???‘WindowButtonDownFcn‘??@ButtonDownCallback?...
???‘WindowButtonUpFcn‘?@ButtonUpCallback?...
???‘WindowButtonMotionFcn‘?@ButtonMotionCallback?...
???‘KeyPressFcn‘?@KeyPressCallback);
return;
function?ButtonDownCallback(srceventdata)
???f1?=?src;
???a1?=?ge
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-06-17?13:26??magnify用于matlab的放大插件\
?????文件????????4227??2018-06-16?17:39??magnify用于matlab的放大插件\magnify.m
- 上一篇:網(wǎng)頁設(shè)計大作業(yè)
- 下一篇:html可視化編輯效果
評論
共有 條評論