Sharedsupport / 2015-11-25-091436-plot-question.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
import pylab as plt plt.plot(range(20), range(20)) plt.show() print "hello world"
[<matplotlib.lines.Line2D object at 0x7fc776c7c190>]
hello world
#Plot results data=pd.DataFrame.from_records(analysis['analysis']['results'], index='key') plt = data.plot(kind = 'line',title=id['label']+" : "+name, xticks = xkeys) plt.set_xticklabels(xlabels, rotation='vertical'); plt.show()