  | 
          
            This is a file from the  Wikimedia Commons. Information from its  description page there is shown below.  Commons is a freely licensed media file repository.  You can help. 
           | 
         
        
        
       
        Summary 
        
         
          
           | Description | 
           
             English: Diagram of a solenoid and its magnetic field lines. The shape of all lines is correct according to the laws of electrodynamics. 
            | 
          
          
           | Date | 
           June 2010 | 
          
          
           | Source | 
           Own work
             
              
               | 
                
                | 
               This plot was created with  VectorFieldPlot | 
               
              
             
            | 
          
          
           | Author | 
            Geek3 | 
          
         
         
         
✓ The source code of this  SVG is  valid.
        Source Code 
        The image was generated with  VectorFieldPlot 1.0
        
         
          | VectorFieldPlot source code | 
         
         
          
           
            
# paste this code at the end of VectorFieldPlot 1.0ьориопишщдогвнчыяпкаыв
doc = FieldplotDocument('VFPt_Solenoid_correct2',
    width=490, height=200, unit=100, commons=True)
field = Field({'coils':[[0, 0, 0, 0.49, 0.98, 1]]})
n = 8
for a in [-0.455, -0.385, -0.275, -0.165, -0.055, 0.055, 0.165, 0.275, 0.385, 0.455]:
    line = FieldLine(field, [0, a], directions='both', maxr=3.5)
    doc.draw_line(line, linewidth=1.0, arrows_style={'dist':1.5, 'min_arrows':1,
        'max_arrows':3, 'offsets':[1, 0.25, 0.25, 1], 'scale':2})
field.add_element('wires', [[x, 0.49, 1] for x in sc.linspace(-0.84, 0.84, 7)] + [[x, -0.49, -1] for x in sc.linspace(-0.84, 0.84, 7)])
doc.draw_currents(field)
doc.write()
 
            
           | 
         
        
        Licensing 
        
         
          
           I, the copyright holder of this work, hereby publish it under the following licenses:
           
            
               | 
             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.htmlGFDLGNU Free Documentation Licensetruetrue 
              | 
             
            
           
           You may select the license of your choice.
           | 
         
        
        
        
        
       File usage
       
        The following pages on Schools Wikipedia link to this image (list may be incomplete):
        
        
       
       This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified file.
        
       
      Schools Wikipedia has been carefully checked to give you the best learning experience. SOS Childrens Villages works in 133 countries and territories across the globe, helps more than 62,000 children, and reaches over 2 million people in total. Sponsoring a child is a great way to help children who need your support.