资源简介
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
- 上一篇:网页设计大作业
- 下一篇:html可视化编辑效果
评论
共有 条评论