sda.plot.plot_grid#
Functions#
|
Plot a grid on given ax. |
Module Contents#
- sda.plot.plot_grid.plot_grid(ax, xmin, xmax, x_minor, x_major, ymin, ymax, y_minor, y_major, alpha_minor=0.4, alpha_major=0.7)#
Plot a grid on given ax.
- Parameters:
ax (
plt.Axes) – a matplotlib.pyplot.Axes object.xmin (
float) – starting point for the x lines.xmax (
float) – ending point for the x lines.x_minor (
float) – width between minor x lines.x_major (
float) – width between major x lines.ymin (
float) – starting point for the y lines.ymax (
float) – ending point for the y lines.y_minor (
float) – height between minor y lines.y_major (
float) – height between major y lines.alpha_minor (
float, optional) – alpha channel for minor lines.alpha_major (
float, optional) – alpha channel for major lines.