This commit is contained in:
Vitor Santos Costa
2018-03-12 15:11:59 +00:00
parent 31fd3eb344
commit 1a8c26b886
32 changed files with 442 additions and 307 deletions

View File

@@ -422,19 +422,19 @@
"%matplotlib inline\n",
"\n",
"main :- \n",
" := import( matplotlib.pyplot ),\n",
" := import( numpy ),\n",
" Plt = matplotlib.pyplot,\n",
" Np = numpy,\n",
" t := Np.arange(0.0, 2.0, 0.01),\n",
" s := 1 + Np.sin(2*Np.pi*t),\n",
" := Plt.plot(t, s),\n",
" := Plt.xlabel(`time (s)`),\n",
" := Plt.ylabel(`voltage (mV)`),\n",
" := Plt.title(`About as simple as it gets, folks`),\n",
" := Plt.grid(true),\n",
" := Plt.savefig(`test2.png`),\n",
" := Plt.show().\n",
" import( matplotlib.pyplot ),\n",
" import( numpy ),\n",
" Plt := matplotlib.pyplot,\n",
" Np := numpy,\n",
" t := np.arange(0.0, 2.0, 0.01),\n",
" s := 1 + np.sin(2*np.pi*t),\n",
" Plt.plot(t, s),\n",
" Plt.xlabel(`time (s)`),\n",
" Plt.ylabel(`voltage (mV)`),\n",
" Plt.title(`About as simple as it gets, folks`),\n",
" Plt.grid(true),\n",
" Plt.savefig(`test2.png`),\n",
" Plt.show().\n",
"\n",
"main"
]