File:VFPt dipole magnetic2.svg
来自testwiki
跳转到导航
跳转到搜索
此SVG文件的PNG预览的大小:600 × 600像素。 其他分辨率:240 × 240像素 | 480 × 480像素 | 768 × 768像素 | 1,024 × 1,024像素 | 2,048 × 2,048像素。
原始文件 (SVG文件,尺寸为600 × 600像素,文件大小:22 KB)
本文件来自维基共享资源并可能被其他项目使用。 其文件描述页上的描述显示在下面。
摘要
| 描述VFPt dipole magnetic2.svg |
English: Magnetic dipole field around a small current loop. |
| 日期 | |
| 来源 | 自己的作品 |
| 作者 | Geek3 |
| 其他版本 | |
| SVG开发 InfoField | |
| 源代码 InfoField | Python code# paste this code at the end of VectorFieldPlot 1.2
doc = FieldplotDocument('VFPt_dipole_magnetic2',
commons=True, width=600, height=600)
field = Field({'ringcurrents':[[0,0,0,0.5,1]]})
n = 12
for i in range(n):
a = 4.2 * ((i + 0.5) / n - 0.5)
line = FieldLine(field, [0, 0.5 * (exp(a)-1) / (exp(a)+1)],
directions='both')
doc.draw_line(line, linewidth=2.4,
arrows_style={'dist':1.7, 'scale':1.1, 'max_arrows':4})
# draw ring
symb = doc.draw_object('g', {'id':'ring',
'transform':'scale({0},{0})'.format(1.0/doc.unit)})
defs = doc.draw_object('defs', {}, group=symb)
spot = doc.draw_object('radialGradient', {'id':'light_spot',
'cx':'0.65', 'cy':'0.7', 'r':'0.75'}, group=defs)
for col, of in [['#fff', '0'], ['#ddd', '0.15'],
['#aaa', '0.5'], ['#444', '1']]:
doc.draw_object('stop', {'stop-color':col, 'offset':of}, group=spot)
doc.draw_object('path',
{'d':'M -20.5,50 V -50 A 20.5,20.5 0 0,1 20.5,-50 V 50 A 20.5,20.5 0 0,1 -20.5,50 Z',
'style':'fill:url(#light_spot); stroke:#000000; stroke-width:3'},
group=symb)
doc.write()
|
许可协议
我,本作品著作权人,特此采用以下许可协议发表本作品:
| 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
本文件采用知识共享署名-相同方式共享 3.0 未本地化版本许可协议授权。
- 您可以自由地:
- 共享 – 复制、发行并传播本作品
- 修改 – 改编作品
- 惟须遵守下列条件:
- 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
- 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
您可以选择您需要的许可协议。
说明
添加一行文字以描述该文件所表现的内容
此文件中描述的项目
描繪內容
9月 2010
image/svg+xml
文件历史
点击某个日期/时间查看对应时刻的文件。
| 日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
|---|---|---|---|---|---|
| 当前 | 2010年9月28日 (二) 15:27 | 600 × 600(22 KB) | wikimediacommons>Geek3 | own work |
文件用途
以下页面使用本文件: