Skip to content

Commit bcfdad7

Browse files
committed
better instrucitons for matplotlib3d
1 parent a9cb8a3 commit bcfdad7

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.ipynb_checkpoints/matplotlib_3D_exercise-checkpoint.ipynb

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"source": [
4040
"------------\n",
4141
"\n",
42-
"#### Task 1: Create wireframe of hyperbolic paraboloid on the domain <-10,10>X<-10,10>\n",
42+
"#### Task 1: Create wireframe of hyperbolic paraboloid on the domain made from intervals `<-10,10>` x `<-10,10>`\n",
4343
"\n",
4444
"* hyperbolic paraboloid equation is: z = x*x - y*y"
4545
]
@@ -69,7 +69,7 @@
6969
"source": [
7070
"\n",
7171
"-------------\n",
72-
"#### Task 2: Create surface plot of eliptical paraboloid on the domain <-10,10>X<-10,10>\n",
72+
"#### Task 2: Create surface plot of eliptical paraboloid on the domain made from intervals `<-10,10>` x `<-10,10>`\n",
7373
"\n",
7474
"* eliptical paraboloid : z = x*x + y*y"
7575
]
@@ -97,9 +97,9 @@
9797
}
9898
},
9999
"source": [
100-
"#### Task 3: Create surface plot of eliptical paraboloid on the domain <-10,10>X<-10,10>\n",
100+
"#### Task 3: Repeat the surface plot of eliptical paraboloid on the domain made from intervals `<-10,10>` x `<-10,10>` from the previous task.\n",
101101
"\n",
102-
"* Also create a contour projection on the plane z=0 (HINT: use the parameter 'zdir' of contour plot)\n",
102+
"* Create a contour projection on the plane z=0 (HINT: use ax.contour method with X, Y and Z and parameters `cmap='jet'`, `zdir='z'`,`offset=0`)\n",
103103
"\n",
104104
"* eliptical paraboloid : z = x*x + y*y"
105105
]
@@ -142,7 +142,7 @@
142142
],
143143
"metadata": {
144144
"kernelspec": {
145-
"display_name": "Python 3",
145+
"display_name": "Python 3 (ipykernel)",
146146
"language": "python",
147147
"name": "python3"
148148
},
@@ -156,7 +156,7 @@
156156
"name": "python",
157157
"nbconvert_exporter": "python",
158158
"pygments_lexer": "ipython3",
159-
"version": "3.7.9"
159+
"version": "3.9.7"
160160
},
161161
"toc": {
162162
"base_numbering": 1,

matplotlib_3D_exercise.ipynb

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"source": [
4040
"------------\n",
4141
"\n",
42-
"#### Task 1: Create wireframe of hyperbolic paraboloid on the domain <-10,10>X<-10,10>\n",
42+
"#### Task 1: Create wireframe of hyperbolic paraboloid on the domain made from intervals `<-10,10>` x `<-10,10>`\n",
4343
"\n",
4444
"* hyperbolic paraboloid equation is: z = x*x - y*y"
4545
]
@@ -69,7 +69,7 @@
6969
"source": [
7070
"\n",
7171
"-------------\n",
72-
"#### Task 2: Create surface plot of eliptical paraboloid on the domain <-10,10>X<-10,10>\n",
72+
"#### Task 2: Create surface plot of eliptical paraboloid on the domain made from intervals `<-10,10>` x `<-10,10>`\n",
7373
"\n",
7474
"* eliptical paraboloid : z = x*x + y*y"
7575
]
@@ -97,9 +97,9 @@
9797
}
9898
},
9999
"source": [
100-
"#### Task 3: Create surface plot of eliptical paraboloid on the domain <-10,10>X<-10,10>\n",
100+
"#### Task 3: Repeat the surface plot of eliptical paraboloid on the domain made from intervals `<-10,10>` x `<-10,10>` from the previous task.\n",
101101
"\n",
102-
"* Also create a contour projection on the plane z=0 (HINT: use the parameter 'zdir' of contour plot)\n",
102+
"* Create a contour projection on the plane z=0 (HINT: use ax.contour method with X, Y and Z and parameters `cmap='jet'`, `zdir='z'`,`offset=0`)\n",
103103
"\n",
104104
"* eliptical paraboloid : z = x*x + y*y"
105105
]
@@ -142,7 +142,7 @@
142142
],
143143
"metadata": {
144144
"kernelspec": {
145-
"display_name": "Python 3",
145+
"display_name": "Python 3 (ipykernel)",
146146
"language": "python",
147147
"name": "python3"
148148
},
@@ -156,7 +156,7 @@
156156
"name": "python",
157157
"nbconvert_exporter": "python",
158158
"pygments_lexer": "ipython3",
159-
"version": "3.7.9"
159+
"version": "3.9.7"
160160
},
161161
"toc": {
162162
"base_numbering": 1,

0 commit comments

Comments
 (0)