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

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

?? poincare.m

?? 提供一個求解龐加萊映射的方法
?? M
?? 第 1 頁 / 共 2 頁
字號:
function varargout = poincare(varargin)
% poincare Application M-file for poincare.fig
%    FIG = poincare launch poincare GUI.
%    poincare('callback_name', ...) invoke the named callback.

% Last Modified by GUIDE v2.5 03-Nov-2005 19:19:12
% Author: J.M. Roth, MIT Lincoln Laboratory, jroth@ll.mit.edu

% This script plots the polarization Stokes vectors (S1, S2, S3) on a Poincare
% sphere.
% Type "poincare" at the Matlab prompt and a graphical window should pop up.
% Enter an input data file in the GUI, then click "Plot".  You can also save
% the output graph to a .jpg file.
%
% The input data file format can be modified to your instrument's output.
% Currently the format is compatible with the ThorLabs PA-430 Polarimeter.
% This data file format conforms to that produced by the above polarimeter's
% data logger application, which is part of the "polar4.exe" software provided
% for this instrument.  This software is running on a Win95 machine 
% with a Keithley DAS-1700 PCI board controlling the polarimeter.

% This plot routine uses shading to indicate where on the 3-D surface the
% data lies.  That is, if the data is on the back-side of the sphere, then
% it should be shaded; otherwise it is not shaded.  The routine behaves in
% this manner in the figure window on the screen, however, unfortunately
% there is a bug regarding this shading algorithm if the figure is printed
% (directly to a printer) or if the figure is saved to a graphical file.
% Matlab suggested that this is due to a bug in the OpenGL graphics
% renderer.  They have confirmed this bug in both Matlab 7.1 and Matlab
% 7.2.  So far I have not found a suitable workaround.  Matlab suggested
% the following items below, which I did not find to correct the problem:
% 
% "1. Use the ZBUFFER renderer to display your figure.  You can change the 
% renderer by entering the following code at the MATLAB Command Prompt:
%
% set(gcf,'Renderer','Zbuffer');
%
% This code changes the renderer for the current figure; if you have 
% multiple figures open, you can make a figure current by maximizing it and 
% then maximizing the MATLAB Command Window.
%
% 2. Nudge the magenta circle's position off the face of the sphere.  It 
% appears that the OpenGL renderer treats the circle as if it is inside 
% the surface of the sphere.  We have corrected the improper shading by 
% moving the circle away from the sphere's surface.
%
% [THREAD ID: 1-2R3S71]",
% Zach Carwile, Application Support Engineer, Technical Support Department,
% The MathWorks, Inc., Phone: (508) 647-7000 option 5 
% 
% Another way I have found to get around this problem is to use a line instead
% of a dot to plot the data; however, this joins together all the data which
% can look disjointed.



if nargin == 0  % LAUNCH GUI
%    close all
    fig = openfig(mfilename,'reuse');

    % Generate a structure of handles to pass to callbacks, and store it.
    handles = guihandles(fig);
    guidata(fig, handles);

    if nargout > 0
        varargout{1} = fig;
    end
% Generate default filename using format: YYYY-MM-DD_HHMMSS
    cl = fix(clock);
savegraph_filename = strcat('fig_poincare_',num2str(cl(1)),'-',num2str(cl(2)),'-',num2str(cl(3)),'_',num2str(cl(4)),num2str(cl(5)),num2str(cl(6)));
    savegraph_filepath = strcat('/home/jroth/',savegraph_filename);
    set(handles.edit21,'string',savegraph_filename)  % write variable to edit21
    set(handles.edit22,'string',savegraph_filepath)   % filename including path

elseif ischar(varargin{1}) % INVOKE NAMED SUBFUNCTION OR CALLBACK

    try
        if (nargout)
            [varargout{1:nargout}] = feval(varargin{:}); % FEVAL switchyard
        else
            feval(varargin{:}); % FEVAL switchyard
        end
    catch
        disp(lasterr);
    end

end
end


%| ABOUT CALLBACKS:
%| GUIDE automatically appends subfunction prototypes to this file, and
%| sets objects' callback properties to call them through the FEVAL
%| switchyard above. This comment describes that mechanism.
%|
%| Each callback subfunction declaration has the following form:
%| <SUBFUNCTION_NAME>(H, EVENTDATA, HANDLES, VARARGIN)
%|
%| The subfunction name is composed using the object's Tag and the
%| callback type separated by '_', e.g. 'slider2_Callback',
%| 'figure1_CloseRequestFcn', 'axis1_ButtondownFcn'.
%|
%| H is the callback object's handle (obtained using GCBO).
%|
%| EVENTDATA is empty, but reserved for future use.
%|
%| HANDLES is a structure containing handles of components in GUI using
%| tags as fieldnames, e.g. handles.figure1, handles.slider2. This
%| structure is created at GUI startup using GUIHANDLES and stored in
%| the figure's application data using GUIDATA. A copy of the structure
%| is passed to each callback.  You can store additional information in
%| this structure at GUI startup, and you can change the structure
%| during callbacks.  Call guidata(h, handles) after changing your
%| copy to replace the stored original so that subsequent callbacks see
%| the updates. Type "help guihandles" and "help guidata" for more
%| information.
%|
%| VARARGIN contains any extra arguments you have passed to the
%| callback. Specify the extra arguments by editing the callback
%| property in the inspector. By default, GUIDE sets the property to:
%| <MFILENAME>('<SUBFUNCTION_NAME>', gcbo, [], guidata(gcbo))
%| Add any extra arguments after the last argument, before the final
%| closing parenthesis.


% --------------------------------------------------------------------
function varargout = pushbutton1_Callback(h, eventdata, handles, varargin)
format long
% Default input file
def_input_file = get(handles.edit12,'string');  % default input data filename plus path
% Specify input file
[filename1, pathname1]=uigetfile({'*.*','All files (*.*)'},'Import data [must conform to correct format]',def_input_file);
% opens dialog in present working directory (pwd)
myfile1=fullfile(pathname1, filename1);
handles.filename1 = filename1;  % filename only
handles.myfile1 = myfile1;  % filename plus path
set(handles.edit11,'string',...
    [handles.filename1])  % filename only
guidata(gcbo,handles) % store the changes
set(handles.edit12,'string',...
    [handles.myfile1])  % filename including path
guidata(gcbo,handles) % store the changes
end

% --------------------------------------------------------------------
% Specify output file name to save graph
function varargout = pushbutton2_Callback(h, eventdata, handles, varargin)
% Default output file
def_output_file = get(handles.edit22,'string');  % default input data filename plus path
% Do not include .jpg extension for now; added below in plotting function
[filename2, pathname2]=uiputfile({'*','JPEG files'},'Specify filename for plot [do not include .jpg extension]',def_output_file);
myfile2=fullfile(pathname2, filename2);
pathname2;
%     handles.filename3 = filename3;
%     set(handles.edit8,'string',...
%     [handles.filename3])
%     guidata(gcbo,handles) % store the changes

handles.filename2 = filename2;  % filename only
handles.myfile2 = myfile2;  % filename plus path
set(handles.edit21,'string',...
    [handles.filename2])  % filename only
set(handles.edit22,'string',...
    [handles.myfile2])  % filename including path
guidata(gcbo,handles) % store the changes
end

% --------------------------------------------------------------------
% Check box button to enable output file saving
% This is a boolean operation that toggles file save option
function varargout = checkbox1_Callback(h, eventdata, handles, varargin)
cur_save_val = get(handles.edit1,'string');  % get current value in edit1
if cur_save_val == 'N'
    set(handles.edit1,'string','Y')  % write variable to edit1
elseif cur_save_val == 'Y'
    set(handles.edit1,'string','N')  % write variable to edit1
end
% "Y" >> save file
% "N" = do not save file
guidata(gcbo,handles) % store the changes
end

% --------------------------------------------------------------------
% Exit button
function varargout = pushbutton4_Callback(h, eventdata, handles, varargin)
close;
end

% --------------------------------------------------------------------
% Run button
function varargout = pushbutton3_Callback(h, eventdata, handles, varargin)
format long

% Sample data taken using ThorLabs PA-430 Polarimeter
% Data file format conforms to output data file from polarimeter's data logger
% Polarimeter controlled by polar4.exe software on Win95 machine 
% using Keithley DAS-1700 PCI board
% retrieve filenames
input_filename = get(handles.edit11,'string');  % input data filename
input_file = get(handles.edit12,'string');  % input data filename plus path
savegraph_filename = get(handles.edit21,'string');  % output plot filename
savegraph_file = get(handles.edit22,'string');  % output plot filename plus path


% load data from file
M = csvread(input_file);
% Extract data from file
dat_t = M(:,1);  % time, units?
dat_0 = M(:,2);  % Stokes vector S0? ("power")
dat_1 = M(:,3);  % Stokes vector S1
dat_2 = M(:,4);  % Stokes vector S2
dat_3 = M(:,5);  % Stokes vector S3
dat_4 = M(:,6);  % DOP

% process data
%% Eliminate spurious Stokes vectors if |S|>1;
%% round off polarimeter errors to |1|
%% for ii = 1:length(dat_1)
%%     if abs(dat_1(ii))>1
%%         dat_1(ii) = round(dat_1(ii));
%%     end
%%     if abs(dat_2(ii))>1

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品亚洲精品国产欧美kt∨| 91国偷自产一区二区开放时间| 一区二区三区四区不卡视频| 中文字幕免费不卡| 国产精品国产三级国产aⅴ中文| 国产日韩欧美一区二区三区乱码| 精品国产一区二区亚洲人成毛片| 日韩免费视频线观看| 欧美大胆人体bbbb| 26uuu国产在线精品一区二区| 欧美精品一区二区蜜臀亚洲| 国产网站一区二区| 国产精品欧美久久久久无广告| 国产精品久久久久婷婷二区次| 国产精品福利电影一区二区三区四区| 亚洲欧洲另类国产综合| 一区二区三区在线视频观看| 亚洲成人免费视| 久久精品久久久精品美女| 国产揄拍国内精品对白| 亚洲成精国产精品女| 91国偷自产一区二区使用方法| 国产凹凸在线观看一区二区| 国产99久久久久| 成人午夜大片免费观看| 91在线一区二区三区| 一本一道久久a久久精品| 欧美日本一道本| 久久一区二区三区四区| 自拍偷拍欧美精品| 午夜视频在线观看一区二区三区| 免费人成网站在线观看欧美高清| 国产精品一卡二| 91视频.com| 9191久久久久久久久久久| www久久精品| 一区二区在线看| 久久成人免费日本黄色| 色婷婷亚洲精品| 欧美一区二区女人| 三级成人在线视频| 国产乱妇无码大片在线观看| 99精品国产一区二区三区不卡| 欧美体内she精视频| 久久精品一区二区三区四区| 国产在线国偷精品免费看| 色偷偷久久一区二区三区| 精品噜噜噜噜久久久久久久久试看| 中日韩av电影| 韩国一区二区三区| 欧美午夜精品理论片a级按摩| 国产日本亚洲高清| 蜜桃在线一区二区三区| 91精品福利在线| 国产片一区二区三区| 另类小说综合欧美亚洲| 欧美三级电影在线看| 国产精品激情偷乱一区二区∴| 免费看黄色91| 欧美精品日韩精品| 1024成人网色www| 久久国产精品72免费观看| 欧美日韩久久久久久| 一区二区三区在线视频观看 | 亚洲视频免费在线观看| 久久97超碰国产精品超碰| 欧美日韩亚州综合| 亚洲一区二区在线免费看| 91香蕉国产在线观看软件| 欧美国产日韩一二三区| 国产成人综合自拍| 久久婷婷成人综合色| 国内精品久久久久影院薰衣草| 日韩一区二区精品在线观看| 蜜桃av一区二区在线观看| 欧美日韩综合在线| 亚洲激情欧美激情| 色伊人久久综合中文字幕| 亚洲另类春色国产| 欧美日韩亚洲国产综合| 日韩高清国产一区在线| 日韩精品中文字幕在线一区| 男女性色大片免费观看一区二区| 欧美丰满嫩嫩电影| 蜜桃av一区二区三区电影| 欧美xxxxx牲另类人与| 国产乱人伦精品一区二区在线观看 | 麻豆免费看一区二区三区| 日韩一区国产二区欧美三区| 六月丁香综合在线视频| 久久夜色精品国产噜噜av| 国产精品一区专区| 日韩美女视频一区| 欧美色视频在线| 免费日本视频一区| 亚洲国产精品精华液2区45| 97超碰欧美中文字幕| 亚洲成av人综合在线观看| 日韩精品中文字幕一区二区三区| 国产电影精品久久禁18| 亚洲欧美成人一区二区三区| 欧美日韩高清一区二区不卡 | 亚洲国产精品一区二区久久恐怖片| 国产精品福利一区| 六月婷婷色综合| 欧美一级免费观看| 国产在线视频精品一区| 国产精品情趣视频| 欧美图区在线视频| 乱中年女人伦av一区二区| 亚洲国产精品成人综合色在线婷婷| 91丨porny丨中文| 免费观看一级特黄欧美大片| 欧美精品一区二区三区高清aⅴ| 99精品视频在线播放观看| 免费高清成人在线| 玉足女爽爽91| 精品粉嫩超白一线天av| 欧美一级一级性生活免费录像| 欧美精品一区二区在线播放| 国产黄人亚洲片| 亚洲图片欧美综合| 精品成人一区二区三区| 91官网在线免费观看| 黑人精品欧美一区二区蜜桃| 艳妇臀荡乳欲伦亚洲一区| 国产日本欧美一区二区| 91麻豆精品国产无毒不卡在线观看| 成人性生交大片免费看中文 | 欧美日韩在线一区二区| 国产一二三精品| 亚洲成a人v欧美综合天堂下载| 1024国产精品| 国产精品久久毛片| 2023国产一二三区日本精品2022| 欧美亚洲动漫另类| 91免费看视频| 99久久er热在这里只有精品66| 国产自产高清不卡| 美女网站色91| 青青草成人在线观看| 亚洲自拍另类综合| 亚洲综合激情网| 亚洲人123区| 最新日韩在线视频| 国产精品第13页| 国产精品欧美精品| 国产精品国产自产拍高清av | 8x福利精品第一导航| 欧美午夜不卡在线观看免费| 菠萝蜜视频在线观看一区| 国产成人免费视| 成人91在线观看| a级精品国产片在线观看| 成人免费电影视频| 处破女av一区二区| 成人黄色777网| 91在线精品秘密一区二区| 成人av资源在线观看| 99免费精品在线| 色94色欧美sute亚洲线路二| 色综合久久综合网| 欧美日韩另类一区| 欧美一区二区三区在线视频| 日韩欧美视频一区| 26uuu亚洲综合色| 日本一区二区三区高清不卡| 国产精品久久久久精k8 | 欧美午夜精品一区二区蜜桃 | 亚洲欧洲精品一区二区三区不卡| 国产精品色哟哟| 一个色综合网站| 日韩中文字幕麻豆| 久久99国产精品久久99果冻传媒| 国产精品一区二区在线观看不卡 | 精品在线免费视频| 成人黄色777网| 欧美日韩一级视频| 久久久久国产精品厨房| 亚洲天堂精品在线观看| 日韩av中文字幕一区二区| 精品影院一区二区久久久| 99久久国产综合精品色伊| 欧美丰满少妇xxxxx高潮对白| 久久久国产午夜精品| 国产欧美日韩不卡免费| 中文字幕欧美日韩一区| 夜夜精品视频一区二区 | 欧美无人高清视频在线观看| 日韩精品中文字幕在线不卡尤物 | 亚洲综合清纯丝袜自拍| 精品一区精品二区高清| 91免费视频观看| 精品国内二区三区| 一区二区三区在线播放| 久久精品国产77777蜜臀| 91老师国产黑色丝袜在线| 日韩三级免费观看| 亚洲黄色在线视频| 国模套图日韩精品一区二区|