File:Tubular neighborhood.png
维基共享资源,媒体文件资料库
跳转到导航
跳转到搜索
本预览的尺寸:764 × 600像素。 其他分辨率:306 × 240像素 | 612 × 480像素 | 979 × 768像素 | 1,280 × 1,005像素 | 2,506 × 1,967像素。
原始文件 (2,506 × 1,967像素,文件大小:374 KB,MIME类型:image/png)
文件信息
结构化数据
说明
描述Tubular neighborhood.png | Illustration of en:Tubular neighborhood |
来源 | Made with en:Matlab |
作者 | Oleg Alexandrov 03:01, 1 June 2007 (UTC) |
授权 (二次使用本文件) |
Public domain |
Public domainPublic domainfalsefalse |
我,本作品著作权人,释出本作品至公有领域。这适用于全世界。 在一些国家这可能不合法;如果是这样的话,那么: 我无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。 |
Source code (MATLAB)[编辑]
% illustration of tubular neighborhood
function main()
f=inline('sin(x)', 'x'); % will construct a tubular neighborhood of this curve
a=0; b=2*pi; N = 100; X = linspace(a, b, N); % consider N points in the interval [a, b]
Y = f(X); % the curve
ll = 3; % length of lines perpendicular to the curve
lls = 0.3; % smaller subsegments
thin_line = 2;
thick_line = 4;
% will draw lines perpendicular to the graph of Y=f(X) at
% points separted by length of 'spacing'
spacing = 0.033;
M = floor(spacing*N);
% colors
red=[0.867 0.06 0.14];
blue = [0, 129, 205]/256;
green = [0, 200, 70]/256;
figure(1); clf; hold on; axis equal; axis off;
% plot the lines
for k=1:N
p = (k-1)*M+2;
if p >= N
break;
end
% the normal to the curve at (X(p), Y(p))
Normal = [-(Y(p+1)-Y(p-1)), X(p+1)-X(p-1)]; Normal = Normal/norm(Normal);
plot([X(p)-ll*Normal(1), X(p)+ll*Normal(1)], [Y(p)-ll*Normal(2),...
Y(p)+ll*Normal(2)], 'color', green, 'linewidth', thin_line)
plot([X(p)-lls*Normal(1), X(p)+lls*Normal(1)], [Y(p)-lls*Normal(2),...
Y(p)+lls*Normal(2)], 'color', red, 'linewidth', 0.7*thick_line)
end
% plot the curve
plot(X, Y, 'linewidth', thick_line);
saveas(gcf, 'Tubular_neighborhood.eps', 'psc2')
此math图片可使用矢量图形重新创建为SVG文件。这具有很多好处;更多信息请参见共享资源:待清理媒体。如果存在此图片的SVG格式,请将其上传,然后将此模板替换为
{{vector version available|新图片名称}} 。
建议您将SVG命名为“Tubular neighborhood.svg”,这样在使用Vector version available(或Vva)模板时就不需要填写新图片名称参数。 |
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2007年6月2日 (六) 05:01 | 2,506 × 1,967(374 KB) | Oleg Alexandrov(留言 | 贡献) | tweak | |
2007年6月1日 (五) 03:46 | 2,506 × 1,967(367 KB) | Oleg Alexandrov(留言 | 贡献) | Tweak. | ||
2007年6月1日 (五) 03:10 | 626 × 492(64 KB) | Oleg Alexandrov(留言 | 贡献) | {{Information |Description=Illustration of en:Tubular neighborhood |Source=Made with en:Matlab |Date= |Author= ~~~~ |Permission=Public domain |other_versions= }} {{PD-self}} | ||
2007年6月1日 (五) 03:09 | 626 × 492(64 KB) | Oleg Alexandrov(留言 | 贡献) | {{Information |Description=Illustration of en:Tubular neighborhood |Source=Made with en:Matlab |Date= |Author= ~~~~ |Permission=Public domain |other_versions= }} {{PD-self}} | ||
2007年6月1日 (五) 03:08 | 626 × 492(82 KB) | Oleg Alexandrov(留言 | 贡献) | {{Information |Description=Illustration of en:Tubular neighborhood |Source=Made with en:Matlab |Date= |Author= ~~~~ |Permission=Public domain |other_versions= }} {{PD-self}} | ||
2007年6月1日 (五) 03:01 | 626 × 492(82 KB) | Oleg Alexandrov(留言 | 贡献) | {{Information |Description=Illustration of en:Tubular neighborhood |Source=Made with en:Matlab |Date= |Author= ~~~~ |Permission=Public domain |other_versions= }} {{PD-self}} |
您不可以覆盖此文件。
文件用途
没有页面使用本文件。
全域文件用途
以下其他wiki使用此文件:
- en.wikipedia.org上的用途
- fa.wikipedia.org上的用途
- fr.wikipedia.org上的用途
- it.wikipedia.org上的用途
- ru.wikipedia.org上的用途
- uk.wikipedia.org上的用途
- zh.wikipedia.org上的用途