Plotting of electromagnetic field lines