Python programming Mathplot

in #python9 years ago (edited)

If you haven't used mathplotlib module in python, I recommend you to try and see how easy to plot a graph using mathplot.

import sys
import matplotlib.pyplot as plt
plt.plot([1,2,3,4], [1,4,9,16], 'ro')
plt.axis([0, 6, 0, 20])
plt.show()

..
save the program as pyplotting.py

run it from command line

python pyplotting.py

You can get real data sets from internet, try to plot it through python programs and see how good we can analyze those.

I will be trying to show some real examples in my coming posts. Thank you.


Coin Marketplace

STEEM 0.05
TRX 0.33
JST 0.080
BTC 62600.41
ETH 1629.61
USDT 1.00
SBD 0.40