VFPt_charges_plus_minus_thumb.svg
Summary
Description VFPt charges plus minus thumb.svg |
English:
Field of a positive and a negative point charge. Thumbnail version
|
||
Date | |||
Source | Own work | ||
Author | Geek3 | ||
Other versions |
VFPt charges plus minus.svg
(full size version)
|
||
SVG development
InfoField
|
This
vector image
was created with
Inkscape
, or with something else
.
|
||
Source code
InfoField
|
SVG code# paste this code at the end of VectorFieldPlot 2.5
doc = FieldplotDocument('VFPt_charges_plus_minus_thumb',
width=220, height=165, unit=30., commons=True)
field = Field([['monopole', {'x':-1, 'y':0, 'Q':1}],
['monopole', {'x':1, 'y':0, 'Q':-1}]])
doc.draw_charges(field, scale=11./14.)
n = 16
for i in range(n):
a = 2.0 * pi * (0.5 + i) / n
if abs(i - (n-1)/2.) > 6:
fix = {'start':False, 'leave_image':False, 'enter_image':False, 'end':False}
else:
fix = {'start':True, 'leave_image':False, 'enter_image':False, 'end':True}
line = FieldLine(field, [-1,0], start_v=[cos(a), sin(a)],
directions='forward')
doc.draw_line(line, linewidth=1.0, arrows_style={
'dist':1.6, 'min_arrows':1, 'offsets':
{'start':.65,'leave_image':.5,'enter_image':.5,'end':.65},
'fixed_ends':fix, 'scale':1.4})
doc.write()
|
Licensing
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 . http://www.gnu.org/copyleft/fdl.html GFDL GNU Free Documentation License true true |
-
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.