[Tutor] Plotting with python

Terry Carroll carroll at tjc.com
Fri Oct 30 20:00:52 EDT 2015


If you were going to get started doing some simple plotting with Python 
2.7 (in my case, I'm simply plotting temperature against time-of-day) what 
would you use?

  - matplotlib [1]
  - gnuplot [2]
  - something else entirely?


Assume no substantial familiarity with the underlying plotting software, 
let alone the Python bindings.

The only thing I can think of that might be special is to specify the 
upper/lower bounds of the plot; for example, in my case, I know the 
temperatures vary between somewhere around 70-78 degrees F., so I'd want 
the Y-axis to go, say 60-90, not arbitrarily start at zero; but I suspect 
this is a pretty standard thing in almost any plotting package.

[1] http://matplotlib.org/api/pyplot_api.html
[2] http://gnuplot-py.sourceforge.net/


More information about the Tutor mailing list