Skip to content

Commit

Permalink
consistent axes (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuddaLudwig authored Dec 8, 2023
2 parents 2bcc661 + 1a75420 commit a6d5773
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file modified data/demo_footprints_Hsieh.nc
Binary file not shown.
10 changes: 5 additions & 5 deletions doc/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,13 @@
"source": [
"fig, axes = plt.subplots(nrows=1, ncols=2, figsize=(8, 3))\n",
"\n",
"stack_H.plot(ax=axes[0], vmin=0, vmax=0.015)\n",
"stack_H.plot(x=\"x\", y=\"y\", ax=axes[0], vmin=0, vmax=0.015)\n",
"axes[0].set_xlim([-100, 100])\n",
"axes[0].set_ylim([-100, 100])\n",
"axes[0].set_title(\"Hsieh composite 7/12/2020\")\n",
"axes[0].plot(0, 0, marker=\".\", color=\"w\")\n",
"\n",
"stack_KM.plot(ax=axes[1], vmin=0, vmax=0.015)\n",
"stack_KM.plot(x=\"x\", y=\"y\", ax=axes[1], vmin=0, vmax=0.015)\n",
"axes[1].set_xlim([-100, 100])\n",
"axes[1].set_ylim([-100, 100])\n",
"axes[1].set_title(\"Kormann & Meixner composite 7/12/2020\")\n",
Expand Down Expand Up @@ -392,19 +392,19 @@
"source": [
"fig, axes = plt.subplots(nrows=1, ncols=3, figsize=(12, 3))\n",
"\n",
"stable_foots_Hsieh.isel(time=1).plot(ax=axes[0])\n",
"stable_foots_Hsieh.isel(time=1).plot(x=\"x\", y=\"y\", ax=axes[0])\n",
"axes[0].set_xlim([-250, 250])\n",
"axes[0].set_ylim([-250, 250])\n",
"axes[0].plot(0, 0, marker=\".\", color=\"w\")\n",
"axes[0].set_title(\"Hsieh stable\")\n",
"\n",
"unstable_foots_Hsieh.isel(time=1).plot(ax=axes[1])\n",
"unstable_foots_Hsieh.isel(time=1).plot(x=\"x\", y=\"y\", ax=axes[1])\n",
"axes[1].set_xlim([-250, 250])\n",
"axes[1].set_ylim([-250, 250])\n",
"axes[1].plot(0, 0, marker=\".\", color=\"w\")\n",
"axes[1].set_title(\"Hsieh unstable\")\n",
"\n",
"neutral_foots_Hsieh.isel(time=1).plot(ax=axes[2])\n",
"neutral_foots_Hsieh.isel(time=1).plot(x=\"x\", y=\"y\", ax=axes[2])\n",
"axes[2].set_xlim([-250, 250])\n",
"axes[2].set_ylim([-250, 250])\n",
"axes[2].plot(0, 0, marker=\".\", color=\"w\")\n",
Expand Down

0 comments on commit a6d5773

Please sign in to comment.