Code covered by the BSD License
-
A=areaunder(p1,b,c,p2,a)
% AREAUNDER
-
c=vcol()
-
f=dfz(p1,b,c,p2,t)
-
f=fy(p1,b,c,p2,t)
-
f=fz(p1,b,c,p2,t)
-
f=oarplot()
Uppbyggnad och utritning av
-
f=vikingplot()
Start- och stopppunkter f
-
f=vimpelplot(amplitude)
Uppbyggnad och utritning av vimpel.
-
f=waterplot(movefactor,waters...
Uppbyggnad av vattenytans x-, y- och z-koordinater.
-
f=watersurface()
Ber
-
plotbz(p1,b,c,p2,y,dt,plarg) ...
% PLOTBZ
-
r=bezier(p1,b,c,p2,n)
% BEZIER
-
ritadelta(x,y,z,size)
% RITADELTA
-
stop=vlinjefunc(x,spunkter,se...
% VLINJEFUNC
-
volymunder(rpos,botten,nx,ny,...
% VOLYMUNDER
-
z=vbottfunc(x,ztop,ztop2)
% VBOTTFUNC
-
movievikings.m
-
vikings.m
-
viking.mpg
-
View all files
from
A Viking Ship
by Pontus Axelsson
A fully-rigged Viking ship with animation.
|
| c=vcol() |
%
% VCOL
%
% En "Color LUT" fr att hantera frger vid plottning.
function c=vcol()
c=[
0.7500 0.3500 0.3500;
0.7666 0.3666 0.3666;
0.7833 0.3833 0.3833;
0.8000 0.4000 0.4000;
0.8166 0.4166 0.4166;
0.8333 0.4333 0.4333;
0.8500 0.4500 0.4500;
0.8666 0.4666 0.4666;
0.8833 0.4833 0.4833;
0.9000 0.5000 0.5000;
0.9166 0.5166 0.5166;
0.9333 0.5333 0.5333;
0.9500 0.5500 0.5500;
0.9666 0.5666 0.5666;
0.9833 0.5833 0.5833;
0.9833 0.5833 0.5833;
0.9666 0.5666 0.5666;
0.9500 0.5500 0.5500;
0.9333 0.5333 0.5333;
0.9166 0.5166 0.5166;
0.9000 0.5000 0.5000;
0.8833 0.4833 0.4833;
0.8666 0.4666 0.4666;
0.8500 0.4500 0.4500;
0.8333 0.4333 0.4333;
0.8166 0.4166 0.4166;
0.8000 0.4000 0.4000;
0.7833 0.3833 0.3833;
0.7666 0.3666 0.3666;
0.7500 0.3500 0.3500; % Grns
0.5953 0.3720 0.2369;
0.5953 0.3720 0.2369;
0.5953 0.3720 0.2369;
0.6151 0.3844 0.2448;
0.6349 0.3968 0.2527;
0.6548 0.4092 0.2606;
0.6746 0.4216 0.2685;
0.6944 0.4340 0.2764;
0.7143 0.4464 0.2843;
0.7341 0.4588 0.2922;
0.7540 0.4712 0.3001;
0.7738 0.4836 0.3080;
0.7937 0.4960 0.3159;
0.8135 0.5084 0.3238;
0.8333 0.5208 0.3317;
0.8532 0.5332 0.3396;
0.8730 0.5456 0.3475;
0.8929 0.5580 0.3554;
0.9127 0.5704 0.3633;
0.9325 0.5828 0.3712;
0.9524 0.5952 0.3790;
0.9722 0.6076 0.3869;
0.9921 0.6200 0.3948;
1.0000 0.6324 0.4027;
1.0000 0.6448 0.4106;
1.0000 0.6572 0.4185;
1.0000 0.6696 0.4264;
1.0000 0.6820 0.4343;
1.0000 0.6944 0.4422;
1.0000 0.7068 0.4501;
1.0000 0.7192 0.4580;
1.0000 0.7316 0.4659;
1.0000 0.7440 0.4738;
1.0000 0.7564 0.4817;
1.0000 0.7688 0.4896;
1.0000 0.7812 0.4975; % Grns
0.7500 0.7500 0.5500;
0.7666 0.7666 0.5666;
0.7833 0.7833 0.5833;
0.8000 0.8000 0.6000;
0.8166 0.8166 0.6166;
0.8333 0.8333 0.6333;
0.8500 0.8500 0.6500;
0.8666 0.8666 0.6666;
0.8833 0.8833 0.6833;
0.9000 0.9000 0.7000;
0.9166 0.9166 0.7166;
0.9333 0.9333 0.7333;
0.9500 0.9500 0.7500;
0.9666 0.9666 0.7666;
0.9833 0.9833 0.7833;
0.9833 0.9833 0.7833;
0.9666 0.9666 0.7666;
0.9500 0.9500 0.7500;
0.9333 0.9333 0.7333;
0.9166 0.9166 0.7166;
0.9000 0.9000 0.7000;
0.8833 0.8833 0.6833;
0.8666 0.8666 0.6666;
0.8500 0.8500 0.6500;
0.8333 0.8333 0.6333;
0.8166 0.8166 0.6166;
0.8000 0.8000 0.6000;
0.7833 0.7833 0.5833;
0.7666 0.7666 0.5666;
0.7500 0.7500 0.5500;
];
|
|
Contact us at files@mathworks.com