File:VFPt charges plus minus.svg

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

Summary

Description
English: Field of a positive and a negative point charge
Date
Source Own work
Author Geek3
Other versions VFPt charges plus minus thumb.svg (thumbnail version)
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with VectorFieldPlot.
Source code
InfoField

Python code

# paste this code at the end of VectorFieldPlot 3.0
doc = FieldplotDocument('VFPt_charges_plus_minus', commons=True)
field = Field([['monopole', {'x':-1, 'y':0, 'Q':1}],
    ['monopole', {'x':1, 'y':0, 'Q':-1}]])
doc.draw_charges(field)
n = 16
for i in range(n):
    a = 2.0 * pi * (0.5 + i) / n
    line = FieldLine(field, [-1,0], start_v=[cos(a), sin(a)],
        directions='forward')
    doc.draw_line(line, arrows_style={'dist':1.6, 'min_arrows':1,
        'fixed_ends':[True, False, False, True]})

doc.write()

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.
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

May 2010

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current21:30, 27 March 2020Thumbnail for version as of 21:30, 27 March 2020800 × 600 (27 KB)Geek3I appreciate the compression. However, 19kB savings in the source code are no relevant advantage. The original image has a clear internal structure for simple reusability. It contains useful meta information. The approximation of lines by straight segments is the most simple one, and was in fact more precise than the simplified version with Beziers. Note e.g. that the arrows should be centered on each line.
22:48, 29 February 2020Thumbnail for version as of 22:48, 29 February 2020800 × 600 (3 KB)JarvisaSimplified SVG source
14:06, 29 April 2017Thumbnail for version as of 14:06, 29 April 2017800 × 600 (22 KB)Geek3validator fix
18:05, 31 May 2010Thumbnail for version as of 18:05, 31 May 2010800 × 600 (22 KB)Geek3VFPt_charges_plus_minus
No pages on the English Wikipedia use this file (pages on other projects are not listed).

Metadata