plotting line

parent 362e3d95
...@@ -52,6 +52,37 @@ ...@@ -52,6 +52,37 @@
"plt.show" "plt.show"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"i = 0\n",
"yAxis = []\n",
"\n",
"for element in dataset:\n",
" yAxis.append(i)\n",
" i += 1\n",
" \n",
"plt.plot(dataset,\n",
" yAxis,\n",
" color='b',\n",
" linewidth=1)\n",
"\n",
"plt.rc('grid', linestyle='-', linewidth=1)\n",
"plt.grid(True)\n",
"\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment