The abstract magnetostatic field is visualized with Matlab. The magnetic field lines, which has clear physical meaning and good visualizetion effect, clearly reflects the spatial trend direction, macroscopic general situation and detail state of the magnetostatic filed. The magnetostatic filed of Infinitely long DC conductor line, lines and Current-carring ring are visualized in this paper, which demonstrates the principle, techniques and experience to draw magnetic field lines with Matlab. |