In the field of physical experimentation, the meticulous and strict processing of experimental dataforms the cornerstone of experimental research. Especially in complex physical experiments where the precisionof data proeessing and the quality of plotting are paramount, it is particularly crucial to leverage professionadata processing software to carry out tasks such as data analysis , visualization, and curve fitting. This study takesthe f'rank-lertz experiment as a case study, implementing intuitive and efficient visualization of experimentaldata using both Matplotlib and MA'TLAB soltware.lt was found that in this experiment, the images produced byMA'TLAB software were more detailed, and the code was simpler. Furthermore, using the basic magnetizationcurve and hysteresis loop of ferromagnetic materials as examples, the exeeptional performance of these twosoftware packages in image fiting was revealed, MA'TLAB was found to have a stronger fitting capability and agreater variety of fiting options available. Integrating Matplotlib and MATLAB into college physics experimentteaching can not only stimulate students’ innovation awareness but also foster their scientifie research literacyand lay a solid foundation for their future engagement in scientific research.