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

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

?? digitize.m.bak

?? zemax與matlab調用程序
?? BAK
字號:
function nXY = digitize()%function iXY = digitize()%                                                                            %jdc 17-Feb-00%PURPOSE   %     > Interactively digitizes data from an image file.  %     > X-Y axis scales can be any combination of linear, log.%     > Automatic compensation for angular misalignment of  %       image with respect to screen axes.%INPUT%       (All input is interactively prompted)%     > imagename - image filespec (any Matlab-compatible format)%     > three points defining coordinate axes  %     > arbitrary number of points on graph - digitized with left mouse button  %OUTPUT%     > numbered sets of iXY triplets written to screen and optionally to disc storage%     > iXY - 3 x i matrix of all points digitized from image %%TYPICAL CALL %       digitize <RETURN>%       It is necessary to switch between the MATLAB command window and the graphic display window to%       enter the prompted information.% This file is not part of MZDDE. It was downloaded from the MATLAB Central File Exchamge.% A small modification was required to get it working under Matlab 6 Release 13.% Also, a GUI file dialog is now used to select the image file.% http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=287&objectType=file% The author is J Cogdell. This is a rather useful utility.% $Header:$fmts = imformats; % Get the available image formats that will be read by imread% Cook up a string to give to uigetfileallimagefmts = '';for i = 1:length(fmts)    if length(fmts(i).ext) == 1      extensions = ['*.' char(fmts(i).ext)];    else       extensions = ['*.' char(fmts(i).ext(1)) ';*.' char(fmts(i).ext(2))];    end    uigetstring{i,1} = extensions;    uigetstring{i,2} = fmts(i).description;    allimagefmts = [allimagefmts ';' extensions];enduigetstring{end+1,1} = allimagefmts;uigetstring{end,2} = 'All Known Image File Formats';uigetstring{end+1,1} = '*.*';uigetstring{end,2} = 'All Files (*.*)';[filename, pathname] = uigetfile(uigetstring, 'Select an Image File');imagename = [pathname filename];pic = imread(imagename);imshow(pic);set(gcf,'Units','normalized','Position',[0 .15 1 .85])set(gca,'Units','normalized','Position',[0   0 1   1]);fprintf([ 'Select the plot origin with the left mouse button ...\n' 7])[Xopixels,Yopixels] = ginput(1);line(Xopixels,Yopixels,'Marker','.','Color','r')OriginXYdata = input([   '  Enter the [x y] graph values at the origin => ' 7]);if length(OriginXYdata)==1,   OriginXYdata(2) = input(['       Enter the Y graph value at the origin => ' 7]);endfprintf(['\nSelect a point on the X-axis ...\n' 7])[XAxisXpixels,XAxisYpixels] = ginput(1);line(XAxisXpixels,XAxisYpixels,'Marker','.','Color','r')XAxisXdata = input(['Enter the X-value of the point => ' 7]);logx =     input(   ' X-axis scale? [ {lin} | log ] => ','s');if findstr('log',lower(logx)),   logx = 1;   scalefactorXdata = log10(XAxisXdata/OriginXYdata(1));else   logx = 0;   scalefactorXdata = XAxisXdata - OriginXYdata(1);end th = atan((XAxisYpixels-Yopixels)/(XAxisXpixels-Xopixels));   % note image file line 1 is at top%fprintf(          '              Graph rotation angle: %+3.1f degrees +cw\n', th*180/pi)rotmat = [cos(th) sin(th); -sin(th) cos(th)];    % axis rotation matrixfprintf(['\nSelect a point on the Y-axis ...\n' 7])[YAxisXpixels,YAxisYpixels] = ginput(1);line(YAxisXpixels,YAxisYpixels,'Marker','.','Color','r')YAxisYdata = input(['Enter the Y-value of the point => ' 7]);logy =     input(   ' Y-axis scale? [ {lin} | log ] => ','s');if findstr('log',lower(logy)),   logy = 1;   scalefactorYdata = log10(YAxisYdata/OriginXYdata(2));else   logy = 0;   scalefactorYdata = YAxisYdata - OriginXYdata(2);end delxyx = rotmat*[(XAxisXpixels-Xopixels);(XAxisYpixels-Yopixels)];delxyy = rotmat*[(YAxisXpixels-Xopixels);(YAxisYpixels-Yopixels)];delXcal = delxyx(1);delYcal = delxyy(2);numberformat = '%6.2f';nXY = [];ng = 0;while 1,   fprintf(['\n Select graph points with left mouse button ...\n',...              ' To terminate capture - select a point to the left of or below the graph axes\n' 7])   n = 0;   %---------------------------------------------------------------------------------------- data acquire loop   while 1      [x,y] = ginput(1);                             line(x,y,'Marker','+','Color','g')      xy = rotmat*[(x-Xopixels);(y-Yopixels)];      delXpoint = xy(1);      delYpoint = xy(2);      if delXpoint>=0 & delYpoint<=0,               if logx,            x = OriginXYdata(1)*10^(delXpoint/delXcal*scalefactorXdata);         else            x = OriginXYdata(1) + delXpoint/delXcal*scalefactorXdata;         end         if logy,             y = OriginXYdata(2)*10^(delYpoint/delYcal*scalefactorYdata);         else              y = OriginXYdata(2) + delYpoint/delYcal*scalefactorYdata;         end         n = n+1;         xpt(n) = x;         ypt(n) = y;         fprintf(      ['%4.0f  ' numberformat '  ' numberformat '\n'],n,x,y)         ng = ng+1;         nXY(ng,:) = [n x y];      else         break      end   end   %---------------------------------------------------------------------------------------------   fname =        input([   '  Enter a filespec to save the data to (default: no save) => ' 7],'s');   if ~isempty(fname),      numberformat = input(['        Enter a format to save the data (default: %6.2f ) => ' 7],'s');      if isempty(numberformat),         numberformat = '%6.2f';      end            for i = 1:n,         fprintf(fname,['%4.0f  ' numberformat '  ' numberformat '\n'],i,xpt(i),ypt(i));      end            I = findstr('\',fname);      if ~isempty(I),         for i = length(I):-1:1,            fname = [fname(1:i) '\' fname(i+1:length(fname))];         end      end         fprintf([   sprintf(['                         %3.0f x-y data pairs saved to file => ' fname],n) '\n'])   end   yn = input([            '          Digitize more data from this graph? [ {y} | n ] => ' 7],'s');   if findstr('n',lower(yn)),      break   endend   

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品免费观看视频| 日韩视频一区在线观看| 成人精品免费看| 国产一区二区三区电影在线观看| 美女视频一区在线观看| 日本成人在线不卡视频| 麻豆国产91在线播放| 激情综合色丁香一区二区| 美女一区二区三区| 国产在线播精品第三| 国产经典欧美精品| 99久久久无码国产精品| av福利精品导航| 欧美性生交片4| 日韩免费观看高清完整版在线观看| 欧美日韩黄色影视| 精品久久久久久最新网址| 久久久一区二区| 亚洲男人天堂一区| 亚洲成人av一区二区三区| 日本亚洲最大的色成网站www| 理论片日本一区| 成人黄色免费短视频| 91久久人澡人人添人人爽欧美| 欧美区在线观看| 精品国产一区二区精华| 欧美国产国产综合| 亚洲国产日韩精品| 国产精品一区二区久激情瑜伽| 成人av网站大全| 欧美日韩1区2区| 26uuu亚洲| 性久久久久久久| 国产激情视频一区二区三区欧美 | 夜夜精品浪潮av一区二区三区| 亚洲一区二区视频| 国产精品中文欧美| 欧美三区在线观看| 欧美激情中文字幕一区二区| 亚洲成人久久影院| 成人激情免费视频| 精品va天堂亚洲国产| 亚洲嫩草精品久久| 国产精品一区久久久久| 欧美色精品在线视频| 欧美国产日产图区| 久久精品久久99精品久久| 99re成人在线| 久久亚洲一级片| 婷婷综合五月天| 色综合天天综合给合国产| 亚洲欧美日韩国产手机在线| 蜜桃av一区二区在线观看| 91免费视频网址| 国产欧美在线观看一区| 青椒成人免费视频| 欧美日韩在线播放| 亚洲人成在线观看一区二区| 国精品**一区二区三区在线蜜桃| 欧美三级电影在线观看| 樱桃国产成人精品视频| 成人性色生活片免费看爆迷你毛片| 欧美亚洲动漫另类| 亚洲三级小视频| 97久久精品人人做人人爽| 国产欧美日韩在线看| 国产精品资源在线观看| 欧美大片在线观看一区| 日本不卡视频一二三区| 51精品久久久久久久蜜臀| 亚洲成人av在线电影| 欧美私人免费视频| 亚洲成av人影院| 欧美视频在线不卡| 亚洲国产精品久久艾草纯爱| 在线观看日韩国产| 香蕉久久夜色精品国产使用方法 | 欧美日韩在线亚洲一区蜜芽| 亚洲欧美日韩一区二区| 色美美综合视频| 亚洲一区二区在线视频| 欧美视频在线一区二区三区 | 国产精品女主播在线观看| 国产成人在线视频播放| 中文字幕国产一区| 91免费小视频| 午夜精品免费在线观看| 日韩欧美电影一区| 国产大片一区二区| 亚洲欧美色综合| 亚洲视频在线观看一区| 91老师片黄在线观看| 亚洲电影中文字幕在线观看| 欧美伦理视频网站| 极品尤物av久久免费看| 日本一区二区三区在线观看| caoporn国产精品| **性色生活片久久毛片| 欧美片网站yy| 国产在线一区二区综合免费视频| 国产三级精品视频| 91国偷自产一区二区三区成为亚洲经典 | 精品少妇一区二区三区免费观看 | 91福利在线看| 日韩黄色免费网站| 国产日韩欧美麻豆| 91久久精品一区二区三| 久久精品999| 成人欧美一区二区三区白人 | 国产精品一卡二| 一区二区在线观看免费| 91精品国产麻豆| 不卡视频免费播放| 青青青伊人色综合久久| 国产精品久久久久久亚洲伦| 91精品国产全国免费观看| 成人aa视频在线观看| 免费不卡在线观看| 亚洲精品国产一区二区精华液| 日韩欧美在线观看一区二区三区| a级精品国产片在线观看| 男女男精品视频| 亚洲视频一区二区在线| 精品久久久久av影院 | 免费成人深夜小野草| 亚洲视频每日更新| 久久久久久一二三区| 欧美二区乱c少妇| 91网站黄www| 丰满少妇在线播放bd日韩电影| 日韩国产成人精品| 一区二区三区四区精品在线视频| 国产欧美综合在线| 精品国产伦一区二区三区观看体验 | 色婷婷狠狠综合| 成人中文字幕电影| 国产在线不卡一卡二卡三卡四卡| 婷婷国产在线综合| 一区二区高清在线| 亚洲欧洲在线观看av| 中文字幕免费在线观看视频一区| 欧美va在线播放| 5月丁香婷婷综合| 69av一区二区三区| 4hu四虎永久在线影院成人| 欧日韩精品视频| 欧美性猛交xxxx黑人交| 欧美在线观看一区二区| 色www精品视频在线观看| 91浏览器入口在线观看| 91美女福利视频| 欧美无砖专区一中文字| 欧美三级日韩三级| 3d动漫精品啪啪| 日韩欧美第一区| 欧美精品一区二区三区一线天视频 | 欧美唯美清纯偷拍| 欧美精选一区二区| 日韩欧美一二三四区| 日韩三级在线观看| 精品国产不卡一区二区三区| 欧美mv日韩mv国产| 久久久综合激的五月天| 国产精品日韩成人| 中文字幕一区二区三区视频| 亚洲男同1069视频| 亚洲123区在线观看| 蜜臀va亚洲va欧美va天堂| 久久99久久精品欧美| 成人一区二区视频| 欧洲精品一区二区| 欧美一区二区大片| 国产精品美女一区二区三区| 亚洲乱码中文字幕| 亚洲国产人成综合网站| 老司机精品视频线观看86| 国产成人免费在线观看| 日本道精品一区二区三区| 91精品国产综合久久福利| 国产亚洲欧美在线| 亚洲嫩草精品久久| 久久精品久久综合| 色综合久久中文字幕综合网| 欧美一区二区视频网站| 国产欧美日韩精品a在线观看| 亚洲免费在线播放| 麻豆免费看一区二区三区| 成人黄色国产精品网站大全在线免费观看| jizzjizzjizz欧美| 日韩欧美不卡一区| 亚洲欧美激情在线| 国产精品456露脸| 欧美日韩一区二区三区在线| 国产日韩欧美精品在线| 偷拍日韩校园综合在线| 成人国产精品免费网站| 日韩欧美一区在线| 一区二区视频在线| 国产成a人亚洲精品| 91精品国产91久久综合桃花 |