Open dopplershift opened 6 years ago
Hi! Can I try this issues?
You bet!
Let us know if you get stuck and need a hand!
Hi, guys. Got here searching for a 'good first issue' tag
I modified the Hodograph_Inset.py
example like this:
# Create a hodograph
ax_hod = inset_axes(skew.ax, "40%", "40%", loc=1)
h = Hodograph(ax_hod, component_range=80.0)
h.add_grid(increment=20)
c = np.hypot(u, v)
colors = ["red", "green", "darkblue"]
h.plot_colormapped(u, v, c, bounds=c[:-1], colors=colors)
# Show the plot
plt.show()
And this is the plot created:
Is this solution good enough or would you like to explore more the colors
and bounds
. Maybe adding a colormap
?
Actually I just read the original post mentioning colormaps, will work on that
Hi @igorol! Thanks for looking to contribute to MetPy. Let us know if you have any questions along the way - we're happy to have any and all contributions! Yeah expanding the current Hodograph Inset example looks like a great way to go - feel free to open a PR when you're ready for us to take a look at it!
We don't currently demonstrate how to:
bounds
andcolors