|
461 | 461 | " fig, ax = plt.subplots(tight_layout=True)\n", |
462 | 462 | "\n", |
463 | 463 | " ax.set_ylabel('$h^*(x^*) = h(x)/h_0$')\n", |
464 | | - " ax.set_ylim(0,2)\n", |
| 464 | + " ax.set_ylim(-3,2)\n", |
465 | 465 | " ax.set_xlabel('$x^* = x/L$')\n", |
466 | 466 | " ax.set_xlim(0,1)\n", |
467 | 467 | " ax.plot(xp,lam_h(xp,α),color='gray',linestyle='dashed')\n", |
|
541 | 541 | "\n", |
542 | 542 | " fig, ax = plt.subplots(tight_layout=True)\n", |
543 | 543 | "\n", |
544 | | - " ax.set_ylabel('$y^* = y/h^*$')\n", |
| 544 | + " ax.set_ylabel('$y^* = y/h_0$')\n", |
545 | 545 | " ax.set_ylim(0,2)\n", |
546 | 546 | " ax.set_xlabel('$x^* = x/L$')\n", |
547 | 547 | " ax.set_xlim(0,1)\n", |
|
551 | 551 | "\n", |
552 | 552 | " # show the slipper pad\n", |
553 | 553 | " 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", |
555 | 555 | " ax.add_patch(polygon)\n", |
556 | 556 | "\n", |
557 | 557 | " # show a grid to make it easier to see where the y=0 interface is\n", |
|
603 | 603 | "provenance": [] |
604 | 604 | }, |
605 | 605 | "kernelspec": { |
606 | | - "display_name": "base", |
| 606 | + "display_name": ".venv", |
607 | 607 | "language": "python", |
608 | 608 | "name": "python3" |
609 | 609 | }, |
|
617 | 617 | "name": "python", |
618 | 618 | "nbconvert_exporter": "python", |
619 | 619 | "pygments_lexer": "ipython3", |
620 | | - "version": "3.12.8" |
| 620 | + "version": "3.13.3" |
621 | 621 | }, |
622 | 622 | "widgets": { |
623 | 623 | "application/vnd.jupyter.widget-state+json": { |
|
0 commit comments