Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ecb373be3df922673e97a5f0c79ec05c
mooc-rr
Commits
12d8e7c9
Commit
12d8e7c9
authored
Oct 13, 2022
by
ecb373be3df922673e97a5f0c79ec05c
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plotting line
parent
362e3d95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
exercice.ipynb
module2/exo3/exercice.ipynb
+31
-0
No files found.
module2/exo3/exercice.ipynb
View file @
12d8e7c9
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment