-
大小: 1.47MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-08-31
- 语言: Matlab
- 标签:
资源简介
利用MATLAB 7.0的"slice"切片功能将三维表示的数据,通过对图形的线型、立面、色彩、渲染、光线、视角等的控制,可形象表现数据四维特性。
代码片段和文件信息
function varargout = Visualization_4d(varargin)
% VISUALIZATION_4D M-file for Visualization_4d.fig
% VISUALIZATION_4D by itself creates a new VISUALIZATION_4D or raises the existing
% singleton*.
%
% H = VISUALIZATION_4D returns the handle to a new VISUALIZATION_4D or the handle to
% the existing singleton*.
%
% VISUALIZATION_4D(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in VISUALIZATION_4D.M with the given input arguments.
%
% VISUALIZATION_4D(‘Property‘‘Value‘...) creates a new VISUALIZATION_4D or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before Visualization_4d_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to Visualization_4d_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
% Copyright 2002-2003 The MathWorks Inc.
% Edit the above text to modify the response to help Visualization_4d
% Last Modified by GUIDE v2.5 07-Feb-2007 22:44:47
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @Visualization_4d_OpeningFcn ...
‘gui_OutputFcn‘ @Visualization_4d_OutputFcn ...
‘gui_LayoutFcn‘ [] ...
‘gui_Callback‘ []);
if nargin && ischar(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 Visualization_4d is made visible.
function Visualization_4d_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 Visualization_4d (see VARARGIN)
% Choose default command line output for Visualization_4d
handles.output = hobject;
handles.folder=[pwd ‘\Visual_Data\‘];
d = dir([handles.folder ‘*.mat‘]);
handles.datalist=char(d.name);
if isempty(handles.datalist)==1
set(handles.select_data‘String‘‘Visual_Data - Folder is Empty‘)
else
set(handles.select_data‘String‘handles.datalist)
end
handles.cbar=0;
guidata(hobject handles);
% UIWAIT makes Visualization_4d wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = Visualization_4d_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6846 2007-02-07 22:51 4维可视化\Visualization_4d.fig
文件 20766 2009-06-09 16:55 4维可视化\Visualization_4d.m
文件 1598734 2006-12-13 02:30 4维可视化\Visual_Data\exp_data.mat
目录 0 2009-07-02 01:52 4维可视化\Visual_Data
目录 0 2009-07-02 01:52 4维可视化
----------- --------- ---------- ----- ----
1626346 5
评论
共有 条评论