资源简介
Matlab GUI界面设计,实现鼠标在坐标轴内移动时,十字线坐标随之移动,并可以选择平滑移动 和 只在原始数据间跳动。
在matlab6.5下运行。
代码片段和文件信息
function varargout = test(varargin)
% TEST M-file for test.fig
% TEST by itself creates a new TEST or raises the existing
% singleton*.
%
% H = TEST returns the handle to a new TEST or the handle to
% the existing singleton*.
%
% TEST(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in TEST.M with the given input arguments.
%
% TEST(‘Property‘‘Value‘...) creates a new TEST or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before test_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to test_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE‘s Tools menu. Choose “GUI allows only one
% instance to run (singleton)“.
%
% See also: GUIDE GUIDATA GUIHANDLES
% Edit the above text to modify the response to help test
% Last Modified by GUIDE v2.5 18-Nov-2012 01:37:40
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @test_OpeningFcn ...
‘gui_OutputFcn‘ @test_OutputFcn ...
‘gui_LayoutFcn‘ [] ...
‘gui_Callback‘ []);
if nargin & isstr(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State varargin{:});
else
gui_mainfcn(gui_State varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before test is made visible.
function test_OpeningFcn(hobject eventdata handles varargin)
% This function has no output args see OutputFcn.
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to test (see VARARGIN)
% Choose default command line output for test
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes test wait for user response (see UIRESUME)
% uiwait(handles.figure1);
set(gcf‘MenuBar‘‘figure‘);
set(gcf‘ToolBar‘‘figure‘);
set(gca‘Box‘‘on‘);
% --- Outputs from this function are returned to the command line.
function varargout = test_OutputFcn(hobject eventdata handles)
% varargout cell array for returning output args (see VARARGOUT);
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes during object creation after setting all properties.
function listbox1_CreateFcn(hobject eventdata handles)
% hobject
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 19272 2012-11-23 03:20 test.fig
文件 8127 2012-11-25 02:24 test.m
----------- --------- ---------- ----- ----
27399 2
- 上一篇:谱估计 MUSIC算法 matlab程序
- 下一篇:单相逆变器simuli
nk仿真
相关资源
- 谱估计 MUSIC算法 matlab程序
- K近邻算法、剪辑近邻、压缩近邻等算
- 粒子群优化算法Matlab源程序
- SUSAN算法的MATLAB实现
- 非负矩阵分解的matlab代码内容全
- 自适应中值滤波算法matlab
- MATLAB实现信号的AM调制与解调
- matlab代码KNN,层次聚类,C均值,最邻
- 双目摄像头标定——MATLAB
- 将十进制数转换为二进制数有符号M
- 神经网络与matlab7.0实现书中源代码
- 日标准化降水指数SPI-Matlab代码
- 日潜在蒸散发彭曼公式Matlab
- adaboost的matlab实现代码,适合给初学者
- MATLAB 交换两幅图像的幅度谱和相位谱
- matlab源码,计算点目标成像的峰值旁
- SAR RD 算法MATLAB仿真
- 雷达检测相关MATLAB源码
- SAR脉冲压缩MATLAB仿真
- 802.11a OFDM MATLAB仿真代码
- OFDM系统性能的仿真代码,包括对于循
- REFPRP64.DLL+REFPRP64_thunk_pcwin64.dll.rar
- 雅克比法求对称矩阵的特征值(MATL
- 登陆界面的设计MATLAB课设
- 雅克比迭代求解线性方程组MATLAB课设
- 无刷直流电机的matlab仿真
- 定位峰值点的matlab程序
- matlab端点检测vad程序
- B样条图形绘制matlab
- matlab 地质应用 绘制三维地质图
评论
共有 条评论