File:VFPt dipole electric manylines.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 600 × 600 pixels, file size: 36 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Electric dipole field of two point-charges with finite distance.
Date
Source Own work
Author Geek3
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with VectorFieldPlot; "-" and "+" are path text.
 
This SVG file uses the path text method.
Source code
InfoField

Python code

# paste this code at the end of VectorFieldPlot 1.2
doc = FieldplotDocument('VFPt_dipole_electric_manylines',
    commons=True, width=600, height=600)
field = Field({'monopoles':[[-0.5,0,-1], [0.5,0,1]]})
doc.draw_charges(field, scale=1.5)
n = 32
for i in range(n):
    phi = 2.0 * pi * (i + 0.5) / n
    line = FieldLine(field, [0.5,0], start_v=[cos(phi), sin(phi)],
        directions='forward', maxr=1e4)
    if i in [11, 13, 15, 16, 18, 20]: max_arrows = 0
    else: max_arrows = None
    doc.draw_line(line, linewidth=2,
        arrows_style={'dist':1.8, 'scale':1.1, 'max_arrows':max_arrows})
doc.write()

Licensing

[edit]
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.
You may select the license of your choice.

File history

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

Date/TimeThumbnailDimensionsUserComment
current15:02, 28 September 2010Thumbnail for version as of 15:02, 28 September 2010600 × 600 (36 KB)Geek3 (talk | contribs)own work

The following 2 pages use this file:

File usage on other wikis

The following other wikis use this file:

View more global usage of this file.

Metadata