mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Move hodograph to upper right, reuse the 'spd' var
This commit is contained in:
parent
2e29d3b5ff
commit
82e4256579
1 changed files with 2 additions and 2 deletions
|
@ -1263,8 +1263,8 @@
|
||||||
"l = skew.ax.axvline(0, color='c', linestyle='--', linewidth=2)\n",
|
"l = skew.ax.axvline(0, color='c', linestyle='--', linewidth=2)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# Draw hodograph\n",
|
"# Draw hodograph\n",
|
||||||
"ax_hod = inset_axes(skew.ax, '40%', '40%', loc=2)\n",
|
"ax_hod = inset_axes(skew.ax, '40%', '40%', loc=1)\n",
|
||||||
"h = Hodograph(ax_hod, component_range=wind_speed(u*units.knots, v*units.knots).max()/units.knots)\n",
|
"h = Hodograph(ax_hod, component_range=spd.max()/units.knots)\n",
|
||||||
"h.add_grid(increment=20)\n",
|
"h.add_grid(increment=20)\n",
|
||||||
"h.plot_colormapped(u, v, spd)\n",
|
"h.plot_colormapped(u, v, spd)\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|
Loading…
Add table
Reference in a new issue