• 欢迎来到THBWiki!如果您是第一次来到这里,请点击右上角注册一个帐户
  • 有任何意见、建议、求助、反馈都可以在 讨论板 提出
  • THBWiki以专业性和准确性为目标,如果你发现了任何确定的错误或疏漏,可在登录后直接进行改正

文件:Klein bottle.svg

From THBWiki
Jump to navigation Jump to search
本页是此文件的详细信息页面,可通过下方
上传该文件的新版本链接上传更新更清晰的版本
或通过上方编辑链接修改此文件的说明
图片的其他信息诸如画师、原图网址等可随意写上

Original file(SVG file, nominally 250 × 480 pixels, file size: 404 KB)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: Klein bottle made with gnuplot 4.0.
Русский: Бутылка Клейна, сделанная в gnuplot 4.0.
Date
Source Own work
Author Tttrung
SVG development
InfoField
 
The source code of this SVG is invalid due to 3 errors.
 
This W3C-invalid plot was created with Gnuplot.
Source code
InfoField

Gnuplot code

x(u,v)= v<pi ? (2.5-1.5*cos(v))*cos(u): \
        v<2*pi ? (2.5-1.5*cos(v))*cos(u):\
        v<3*pi ? -2+(2+cos(u))*cos(v): -2+2*cos(v)-cos(u)
y(u,v)= v<pi ? (2.5-1.5*cos(v))*sin(u): \
        v<2*pi ? (2.5-1.5*cos(v))*sin(u): \
        v<3*pi ? sin(u): sin(u)
z(u,v)= v<pi ? -2.5*sin(v): v < 2*pi ? 3*v-3*pi:\
        v<3*pi ? (2+cos(u))*sin(v)+3*pi: -3*v+12*pi
set parametric
set pm3d explicit
set pal rgb 9,9,3
unset colorbox
unset key
unset border
unset xtics
unset ytics
unset ztics
set hidden3d
set surface
set ticslevel 0
set size square
set view 60,210,1.5,1
set isosamples 18,48
set xrange[-8:10]
set yrange[-9:9]
set urange[0:2*pi]
set vrange[0:4*pi]
set term svg
set out "bottle.svg"
set multiplot
splot x(u,v),y(u,v),-z(u,v) w pm3d
splot x(u,v),y(u,v),-z(u,v) lt 4
unset multiplot

Gnuplot script

English: Save this script (slightly modified from [1] - see [2] for the page containing this model) to file "bottle" then run the command line "gnuplot bottle", you will get "bottle.svg", if you have well installed gnuplot 4.0 or later.
Русский: Сохраните сценарий (незначительно модифицированный из [3] - см. [4] для страницы, содержащей эту модель) в файл "bottle", запустите коммандную строку "gnuplot bottle" и получите файл "bottle.svg". Необходим gnuplot 4.0 или более поздняя версия.


Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

18 July 2006

image/svg+xml

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:26, 17 August 2007Thumbnail for version as of 13:26, 17 August 2007250 × 480 (404 KB)wikimediacommons>Oleg AlexandrovStrip the whitespace around the figure

The following 2 pages use this file: