File:VFPt wires antiparallel.svg

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

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

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Magnetic field of two infinite wires perpendicular to the image plane, conducting current in and out of the image plane.
Date
Source Own work
Author Geek3
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.3
doc = FieldplotDocument('VFPt_wires_antiparallel', width=800, height=600, commons=True)
field = Field([ ['wire', {'x':-1.5, 'y':0, 'I':1}],
    ['wire', {'x':1.5, 'y':0, 'I':-1}] ])
doc.draw_currents(field)
rmax = 1.34
nlines = 14
pts = Startpath(field, lambda t: [t, 0], t0=-rmax, t1=rmax).npoints(nlines)
for iline, p in enumerate(pts):
    line = FieldLine(field, p, directions='both')
    offs = 0.
    if iline == 1 or iline == nlines-2:
        offs = 0.5
    doc.draw_line(line, arrows_style={'min_arrows':1, 'dist':2.,
        'max_arrows':8, 'offsets':[offs, 0.5, 0.5, 1.0-offs]})
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
current22:03, 31 May 2010Thumbnail for version as of 22:03, 31 May 2010800 × 600 (28 KB)Geek3 (talk | contribs)VFPt_wires_antiparallel

File usage on other wikis

The following other wikis use this file:

Metadata