Skip to content

Commit b721be0

Browse files
committed
minor improvements to graphs
1 parent 5b676a2 commit b721be0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Slipper_Pad_Bearing.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@
461461
" fig, ax = plt.subplots(tight_layout=True)\n",
462462
"\n",
463463
" ax.set_ylabel('$h^*(x^*) = h(x)/h_0$')\n",
464-
" ax.set_ylim(0,2)\n",
464+
" ax.set_ylim(-3,2)\n",
465465
" ax.set_xlabel('$x^* = x/L$')\n",
466466
" ax.set_xlim(0,1)\n",
467467
" ax.plot(xp,lam_h(xp,α),color='gray',linestyle='dashed')\n",
@@ -541,7 +541,7 @@
541541
"\n",
542542
" fig, ax = plt.subplots(tight_layout=True)\n",
543543
"\n",
544-
" ax.set_ylabel('$y^* = y/h^*$')\n",
544+
" ax.set_ylabel('$y^* = y/h_0$')\n",
545545
" ax.set_ylim(0,2)\n",
546546
" ax.set_xlabel('$x^* = x/L$')\n",
547547
" ax.set_xlim(0,1)\n",
@@ -551,7 +551,7 @@
551551
"\n",
552552
" # show the slipper pad\n",
553553
" vertices = [(0, 1), (0, 2), (1, 2), (1, lam_h(1,α))]\n",
554-
" polygon = patches.Polygon(vertices, closed=True, color='dimgray')\n",
554+
" polygon = patches.Polygon(vertices, closed=True, fill=False, hatch='///')\n",
555555
" ax.add_patch(polygon)\n",
556556
"\n",
557557
" # show a grid to make it easier to see where the y=0 interface is\n",
@@ -603,7 +603,7 @@
603603
"provenance": []
604604
},
605605
"kernelspec": {
606-
"display_name": "base",
606+
"display_name": ".venv",
607607
"language": "python",
608608
"name": "python3"
609609
},
@@ -617,7 +617,7 @@
617617
"name": "python",
618618
"nbconvert_exporter": "python",
619619
"pygments_lexer": "ipython3",
620-
"version": "3.12.8"
620+
"version": "3.13.3"
621621
},
622622
"widgets": {
623623
"application/vnd.jupyter.widget-state+json": {

0 commit comments

Comments
 (0)