开发者

Plot functions in Python

开发者 https://www.devze.com 2023-02-18 02:12 出处:网络
I am required to use Python for engineering project. Need to create many graphs, including开发者_运维技巧 surface plots. In the past I used Matlab forplotting and really liked it. I was wandering if t

I am required to use Python for engineering project. Need to create many graphs, including开发者_运维技巧 surface plots. In the past I used Matlab for plotting and really liked it. I was wandering if there is a module/package/extension which bring similar capability into Python.

To be more specific, I need piloting for 2 different reasons.

  1. To understand how functions behave. Something quick and dirty would do it.

  2. Publication/presentation. Ability to add labels, legend, grid, customise colour, axis properties etc.


Try matplotlib, it's pretty extensive and has a shell similar to MATLAB / Mathematica.


I suspect matplotlib.pyplot would be right up your alley.

0

精彩评论

暂无评论...
验证码 换一张
取 消