⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gaorbiter.m

📁 这是几何代数的matlab工具包
💻 M
字号:
function GAo(deg, sec)% GAorbiter(d,s): Rotate the views in all subwindows simultaneously%  The arguments are optional.  %   d: the number of total degrees (default 360)%   s: The number of seconds to rotate before stopping (default 10)%%See also gable.% GABLE, Copyright (c) 1999, University of Amsterdam% Copying, use and development for non-commercial purposes permitted.%          All rights for commercial use reserved; for more information%          contact Leo Dorst (leo@wins.uva.nl).%%          This software is unsupported.if nargin==0  deg = 360;end[az el] = view;if nargin < 2  sec = 10;endn = 100;iaz = az;sp = get(gcf,'Children');for j=1:length(sp)  subplot(sp(j))  axis vis3dendi = 0;iang = deg/sec/10;  ticfor i=1:2  for j=1:length(sp)    subplot(sp(j))    view([az+i*iang el])  end  drawnowends = toc ;ts = s;n = floor(sec*2/s) ;if n <= 2  n = 3;endang = (deg-2*iang)/(n -2);  ticaz = az + 2*iang - 2*ang;for i=3:n  for j=1:length(sp)    subplot(sp(j))    view([az+i*ang el])  end  drawnowend  s = toc ;%  ts = ts + s%  az+n*ang-iaz

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -