activelabel.m

来自「matlab源代码,适用于开发研究,带来很好的学习效果.」· M 代码 · 共 18 行

M
18
字号
function activelabel(label, string)% ACTIVELABEL(LABEL, STRING) - Create a label on GCA which is%     active.  LABEL is the property of GCA whose label you are%     setting.  STRING is the initial text string for the label.% Copyright 2000, 2001, 2002, 2003, 2004, 2005 The MathWorks Inc  l = get(gca,label);    set(l,'string',string);  set(l,'buttondownfcn',@activelabelbuttondown);  function activelabelbuttondown(obj, action)% Callback when one of our active labels is clicked on.    set(obj,'edit','on');      

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?