亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? timeseriesviewer.m

?? 這個是時間序列分析的可視化工具
?? M
?? 第 1 頁 / 共 4 頁
字號:
function varargout = timeseriesviewer(varargin)
%% TIMESERIESVIEWER    Interactive application for exploring time series data
%
% TIMESERIESVIEWER opens the timeseriesviewer application. Detailed help is available
% from the help menu.  

% Scott Hirsch
% shirsch@mathworks.com
% 12/03

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;gui_State = struct('gui_Name',       mfilename, ...
    'gui_Singleton',  gui_Singleton, ...
    'gui_OpeningFcn', @timeseriesviewer_OpeningFcn, ...
    'gui_OutputFcn',  @timeseriesviewer_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 timeseriesviewer is made visible.
function timeseriesviewer_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 timeseriesviewer (see VARARGIN)

% Choose default command line output for timeseriesviewer
handles.output = hObject;

% Handle multiple axes configurations.
% There are 4 configurations, containing between 1 and 4 axes. 
% All possible positions are laid out in guide, but we'll only use 4 of the
% axes.  Get the positions from all axes, then delete the ones we don't
% need.  We'll hide the axes we aren't currently using

% Store axes handles a bit more conveniently
ax1 = handles.Ax11;                                             %1 Axes
ax2 = [handles.Ax21 handles.Ax22];                              %2 Axes
ax3 = [handles.Ax31 handles.Ax32 handles.Ax33];                 %3 Axes
ax4 = [handles.Ax41 handles.Ax42 handles.Ax43 handles.Ax44];    %4 Axes

handles.axes = ax4;     %These are the only four we need
handles.axpos{1} = {get(ax1,'Position')};
handles.axpos{2} = get(ax2,'Position');
handles.axpos{3} = get(ax3,'Position');
handles.axpos{4} = get(ax4,'Position');

delete([ax1 ax2 ax3]);

% Initially, show only one axes
DA = 1;            %Vector from 1:number axes
set(ax4(DA),'Visible','on','Position',handles.axpos{1}{1});
set(ax4(DA+1:end),'Visible','off');

% Make the one visible axes look inactive
inactivecolor = [.7 .7 .7];
set(ax4(DA),'Color',inactivecolor,'XColor',inactivecolor,'YColor',inactivecolor);

% Configure drag and drop interface.
% Allow parameters to be dragged from parameter list to axes
% Also allow one axes to be dragged to another - replace the contents of
% the target with the source.  This is useful for moving a plot up to the
% top axes
% Finally, allow for parameters to be dragged from parameter list to
% TimeSelectPopup.  This defines these parameters as time bases, as removes
% them from the parameter list.
dd = dragndrop(handles.figure1);

set(dd,'DragHandles',[handles.listbox1 handles.axes]);
% set(dd,'DropHandles',[handles.axes handles.TimeSelectPopup]);
set(dd,'DropHandles',[handles.axes handles.AddTimeVectorsFrame]);
set(dd,'DropCallbacks',@localDropCallback);
set(dd,'DropValidDrag','all');
% set(dd,'DropValidDrag','all');

% Make only the Time Select popup valid.  Once the user adds something 
% to the TimeSelect, we'll enable visible axes, too.  This happens in
% localDropCallback.
% set(dd,'DropHandles',handles.TimeSelectPopup);
set(dd,'DropHandles',handles.AddTimeVectorsFrame);

handles.dd = dd;

% Add a context menu to the axes
% Add a context menu to each line
cmenu = uicontextmenu('Parent',handles.figure1);
set(handles.axes,'UIContextMenu',cmenu);
item1 = uimenu(cmenu, 'Label', 'Export Axes', ...        % Export Axes
    'Callback', @localExportAxes,'Tag','ExportAxes');

item2 = uimenu(cmenu, 'Label', 'Clear Axes', ...        % Clear Axes
    'Callback', @localClearAxes,'Tag','ClearAxes', ...
    'Separator','on');

% Put icons on toolbar
load zoom_icons
set(handles.ZoomButton,'CData',zoomxCData);

load datatip_icon
set(handles.DataLabelButton,'CData',cdata);

% Initialize a storage location for derived parameters
handles.derivedparameters = {};

% Initialize application data for storage of parameter names in each axes
for ii=1:length(handles.axes)
    setappdata(handles.axes(ii),'Parameters',{})
end;

% Load data from workspace
%   - populate parameter list with all 2D variables, except time
localUpdateParmlist(handles);

% Add a context menu to the parameter list
% I can't do this, because the context menu shows up whenever you drag!!
% cmenu = uicontextmenu('Parent',handles.figure1);
% set(handles.listbox1,'UIContextMenu',cmenu);
% item1 = uimenu(cmenu, 'Label', 'Clear', ...        % Clear Parameter
%     'Callback', @localClearParameter,'Tag','ClearParameter');
% item2 = uimenu(cmenu, 'Label', 'Update Parameters', ...        % Refresh Parameter List
%     'Callback', @localUpdateParmlist,'Tag','UpdateParameters');

% Initialize the TimeSelectPopup, so it knows that no data has been dragged
% to it.
firsttime = 1;
set(handles.TimeSelectPopup,'UserData',firsttime);

% Update handles structure
guidata(hObject, handles);
%UIWAIT makes timeseriesviewer wait for user response (see UIRESUME)
% uiwait(handles.figure1);

movegui(handles.figure1,'north')

% --- Outputs from this function are returned to the command line.
function varargout = timeseriesviewer_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    handle to listbox1 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: listbox controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end
% --- Executes on selection change in listbox1.function listbox1_Callback(hObject, eventdata, handles)% hObject    handle to listbox1 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns listbox1 contents as cell array%        contents{get(hObject,'Value')} returns selected item from listbox1


function localDropCallback(drag,drop);
% Don't do anything if drop target is invisible (such as a hidden axes)
vis = get(drop,'Visible');
if ~strcmp(vis,'on')
    return
end;
handles = guidata(drag);        %Get handles structure

% Switch between drop target types:
% 1) Popupmenu.  Identify a parameter as a time basis.
% 2) Axes.  Drag and drop plotting

switch get(drop,'Type')
    case 'uicontrol'    % Identify a parameter as a time basis.
        
        % Special case for first time
        %  - Enable other controls
        %  - Replace string with parameters
        firsttime = get(handles.TimeSelectPopup,'UserData');
        if firsttime
            oldtimes = {};
            firsttime = 0;
            set(handles.TimeSelectPopup,'UserData',firsttime);
            
            % Enable dropping on the axes.
%             handles.dd = set(handles.dd,'DropHandles',[handles.axes(1) handles.TimeSelectPopup]);
            handles.dd = set(handles.dd,'DropHandles',[handles.axes(1) handles.AddTimeVectorsFrame]);
            
            
        else
            % Get original time list
            val = get(handles.TimeSelectPopup,'Value');
            oldtimes = get(handles.TimeSelectPopup,'String'); 
            oldtimes = localRemoveLengthFromParms(oldtimes);
            selectedtime = oldtimes{val};
        end;
        
        % Get new time vectors from parameter list
        val = get(drag,'Value');
        parms = get(drag,'String'); 
        
        % Strip lengths off of parms
        parms = localRemoveLengthFromParms(parms);
        
        newtimes = parms(val);             %Name of parameters
        
        % Build unique intersection of the lists.
        times = unique([oldtimes;newtimes]);
        
        % Remove from parameter list
        ind = 1:length(parms);
        keepind = setdiff(ind,val);
        parms = parms(keepind);
        
        % Update parameter list
        set(handles.listbox1,'Value',1);
        parms = localAddLengthToParms(parms);
        set(handles.listbox1,'String',parms);
        
        % Update list of time vectors and Select the new time vector 
        % (first if multiple added)
        val = find(strcmp(newtimes{1},times));
        times = localAddLengthToParms(times);
        set(handles.TimeSelectPopup,'String',times);
        set(handles.TimeSelectPopup,'Value',val);
        
        % Set the axis limits to the max range of all time vectors
        tlim = localGetAxesLimits(handles);
        set(handles.axes,'XLim',tlim);
        set(handles.axes,'XTick',[tlim(1) mean(tlim) tlim(2)]);
        
    case 'axes'         % Drag and drop plotting
        % Switch between valid drag sources: 1) Parameter list. 2) another axes
        switch get(drag,'Type')
            case 'uicontrol'        % Parameter List
                val = get(drag,'Value');
                strng = get(drag,'String'); 
                parms = strng(val);             %Name of parameters
                
                % Strip lengths off of parms
                parms = localRemoveLengthFromParms(parms);
                
                set(handles.figure1,'CurrentAxes',drop);
                
                % First time only:
                % * Enable some controls
                % * Turn off text directions covering the axes
                % * Change the axes color
                if strcmp(get(handles.DirectionsText,'Visible'),'on');
                    % Enable other controls
                    list = [handles.ZoomButton handles.CursorButton handles.DataLabelButton ...
                            handles.NoAxesCombo handles.NoAxesText];
                    set(list,'Enable','on');
                    
                    set(handles.DirectionsText,'Visible','off');
                    % Give axes normal colors
                    set(handles.axes,'Color','w','XColor','k','YColor','k')
                end;
                
                % Get list of parameters already plotted
                oldparms = getappdata(drop,'Parameters');
                
                % New parameters
                newparms = setdiff(parms,oldparms);
                
                % Each parameter could have multiple columns.  Need to
                % account for all of them.
                %                 nLines = 0;
                %                 for ii=1:length(newparms)
                %                     [nr,nc] = evalin('base',['size(' newparms{ii} ')']);
                %                     if nr<nc, % Force into columns
                %                         newparms{ii} = newparms{ii}'; 
                %                         [nr,nc] = size(newparms{ii});
                %                     end 
                %                     nLines = nLines = nc;
                %                 end;
                
                % Initialize array of line handles
                lh = [];
                
                % Color picking.  This is flawed, but good enough for now.
                colors = get(0,'defaultAxesColorOrder');
                cind = length(oldparms) + 1; nc = length(colors);  %Number of colors
                    cind = rem(cind,nc);    % limit to 1..nc
                    if cind==0, cind=size(colors,1); end;
                
                % Get time basis
                time = localGetCurrentTime(handles);
                
                % Store list of parameters that are actually plotted.  Any
                % parameters that aren't the same length as the time basis
                % will be removed
                newparms_keep = {};
                keepers = 0;
                for ii=1:length(newparms)
                    data = evalin('base',newparms{ii});
                    
                    % Don't plot if this variable is not defined on
                    % the current time.  Instead, display a NO
                    % cursor
                    if length(data) ~= length(time)
                        ptr = get(handles.figure1,'Pointer');
                        set(handles.figure1,'Pointer','custom');
                        set(handles.figure1,'PointerShapeCData',no_icon,'PointerShapeHotSpot',[9 9]);
                        pause(.2)
                        set(handles.figure1,'Pointer',ptr);
                        
                        continue    % Go to next iteration
                    end;
                    
                    % Handle
                    lh = [lh line(time, data, ...
                        'Parent',drop, ...
                        'Color',colors(cind,:))];
                    
                    % Add to list of parameters we actually plotted
                    keepers = keepers+1;
                    newparms_keep{keepers,1} = newparms{ii};
                    
                    %Cycle through colors
                    cind = rem(cind+1,nc);
                    if cind==0, cind=size(colors,1); end;
                end;
                
                % Build list of all parameters plotted on this axes.
                parms = unique([oldparms;newparms_keep]);
                
                % Store tags. Skip if didn't add any parameters
                if any(lh)
                    set(lh,{'Tag'},newparms_keep);                  %Store names in lines
                end;
                %     plot(handles.timeNumVec, handles.rawdata(:,val),'Parent',drop)
                setappdata(drop,'Parameters',parms);    %Store this so that we can restore legend
                localUpdateLegend(drop);
                
                
                %If datalabels are on, update them
                if get(handles.DataLabelButton,'Value')
                    datalabel('update');
                end;
                

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜国产精品影院在线观看| 欧美在线啊v一区| 91福利在线播放| 欧美大肚乱孕交hd孕妇| 亚洲狼人国产精品| 国产精品一二三四| 日韩欧美国产小视频| 亚洲一二三四久久| 高清不卡在线观看av| 精品免费一区二区三区| 亚洲图片欧美色图| 97国产精品videossex| 久久久久久久久岛国免费| 欧美aⅴ一区二区三区视频| 色婷婷av久久久久久久| 亚洲欧洲成人自拍| 成人免费观看男女羞羞视频| 久久久久久夜精品精品免费| 男女男精品视频网| 欧美一区二区三区在线视频 | 欧美美女视频在线观看| 国产精品毛片高清在线完整版| 美洲天堂一区二卡三卡四卡视频| 欧美中文字幕久久| 一级特黄大欧美久久久| 91色九色蝌蚪| **欧美大码日韩| 成人激情图片网| 亚洲国产精品精华液2区45| 国产剧情一区二区| 国产日韩综合av| 盗摄精品av一区二区三区| 国产亚洲美州欧州综合国| 国产成人精品www牛牛影视| 中文字幕国产一区二区| 成人网在线播放| 亚洲日本中文字幕区| 色综合久久久网| 亚洲国产精品一区二区久久| 欧美日韩专区在线| 午夜精品福利一区二区三区蜜桃| 欧美日韩一级大片网址| 日韩成人精品在线| 精品日韩欧美在线| 国产九色精品成人porny | 欧美一区二区三区喷汁尤物| 美国av一区二区| 国产欧美1区2区3区| 99国产精品一区| 亚洲成人免费视频| 精品国产免费久久| 成人性生交大片免费看视频在线| 亚洲人成网站色在线观看| 日本韩国欧美三级| 日本少妇一区二区| 国产欧美综合在线观看第十页| 成人97人人超碰人人99| 亚洲综合精品久久| 日韩视频免费观看高清完整版在线观看| 久久不见久久见中文字幕免费| 国产亚洲va综合人人澡精品| 色综合天天综合在线视频| 日韩影视精彩在线| 欧美极品另类videosde| 欧美午夜电影网| 激情成人午夜视频| 夜夜精品浪潮av一区二区三区| 欧美丰满一区二区免费视频| 国产综合久久久久久久久久久久 | 夜夜揉揉日日人人青青一国产精品| 欧美日韩国产一级片| 精品一区二区三区在线观看国产| 中文字幕日韩一区| 日韩精品一区二区三区在线播放| 成人免费视频网站在线观看| 日韩不卡一区二区三区| 国产精品家庭影院| 欧美变态tickling挠脚心| av不卡在线观看| 精彩视频一区二区| 亚洲gay无套男同| 中文字幕一区在线| 精品成人一区二区三区四区| 欧美性色黄大片| 懂色av一区二区三区免费看| 日本成人在线看| 亚洲综合色视频| 中文字幕日韩一区二区| 久久久久久久久伊人| 欧美一区二区性放荡片| 欧美在线观看视频一区二区 | 久久精品久久综合| 亚洲一区国产视频| 亚洲视频你懂的| 国产欧美一区二区三区鸳鸯浴| 日韩欧美国产综合在线一区二区三区| 在线免费亚洲电影| 91麻豆精品视频| 成人黄色综合网站| 国产成人亚洲综合a∨婷婷图片| 美女视频黄a大片欧美| 亚洲高清不卡在线观看| 亚洲欧美日韩国产手机在线| 国产精品福利一区二区| 中文字幕 久热精品 视频在线 | 在线中文字幕一区| 99在线精品免费| 成人福利视频在线| 成人18视频日本| 不卡的电视剧免费网站有什么| 国产成人精品免费网站| 国产sm精品调教视频网站| 国产美女精品在线| 国产成人精品免费网站| 大桥未久av一区二区三区中文| 国产一区在线观看视频| 国产呦精品一区二区三区网站| 韩国视频一区二区| 国产精品资源网站| 成人精品视频一区二区三区尤物| 国产精品99久久久| 成人动漫一区二区| 在线视频你懂得一区| 欧美性色综合网| 91精品一区二区三区久久久久久 | 中文字幕一区二区三区视频| 亚洲日本一区二区| 亚洲一区在线视频| 日韩av网站在线观看| 另类小说欧美激情| 岛国一区二区在线观看| 91污在线观看| 欧美日韩亚洲综合在线 | 欧美丝袜丝交足nylons| 欧美一区二区视频在线观看2022 | 精品少妇一区二区三区视频免付费 | 亚洲图片欧美色图| 青青草视频一区| 大尺度一区二区| 欧美体内she精视频| 日韩午夜小视频| 国产精品成人免费精品自在线观看| 一区二区三区四区中文字幕| 日韩精品亚洲一区| 成人高清在线视频| 69久久夜色精品国产69蝌蚪网| 久久久久国产精品厨房| 一区二区在线电影| 久久成人精品无人区| 91蝌蚪国产九色| 日韩欧美一级精品久久| 亚洲欧美综合色| 久久99久国产精品黄毛片色诱| 99久久777色| 日韩欧美一区在线观看| 亚洲免费三区一区二区| 看片的网站亚洲| 在线观看成人免费视频| 国产亚洲精久久久久久| 亚洲成人1区2区| 国产99久久久国产精品潘金网站| 欧美视频精品在线| 国产精品国产三级国产aⅴ原创| 日韩精品久久理论片| 成人激情av网| 欧美成人一区二区| 亚洲精品国产品国语在线app| 国产美女一区二区三区| 在线播放国产精品二区一二区四区| 中文字幕国产一区| 国内精品视频一区二区三区八戒 | 欧美草草影院在线视频| 亚洲精品欧美专区| 国产成人精品亚洲777人妖| 日韩一区二区电影在线| 亚洲成a人片在线观看中文| av在线不卡免费看| 欧美国产日韩一二三区| 国精品**一区二区三区在线蜜桃| 在线不卡a资源高清| 亚洲国产一区二区视频| 色偷偷久久一区二区三区| 中文无字幕一区二区三区| 国内精品久久久久影院薰衣草| 欧美一区二区视频在线观看2020| 亚洲丶国产丶欧美一区二区三区| www.激情成人| 国产精品进线69影院| 成人免费毛片aaaaa**| 国产三级欧美三级日产三级99| 韩国一区二区三区| 久久综合99re88久久爱| 精品一区二区成人精品| 日韩色在线观看| 裸体一区二区三区| 日韩午夜激情免费电影| 精品一区二区日韩| 精品久久久久久久人人人人传媒 | 在线免费观看日韩欧美| 亚洲综合图片区|