add_contour_filled_impl Subroutine

public subroutine add_contour_filled_impl(self, x_grid, y_grid, z_grid, levels, cmap, show_colorbar, label, colormap)

Add filled contour plot with colors

cmap is the matplotlib-canonical keyword; colormap is a backward-compatible alias.

Arguments

Type IntentOptional Attributes Name
class(figure_t), intent(inout) :: self
real(kind=wp), intent(in), contiguous :: x_grid(:)
real(kind=wp), intent(in), contiguous :: y_grid(:)
real(kind=wp), intent(in), contiguous :: z_grid(:,:)
real(kind=wp), intent(in), optional :: levels(:)
character(len=*), intent(in), optional :: cmap
logical, intent(in), optional :: show_colorbar
character(len=*), intent(in), optional :: label
character(len=*), intent(in), optional :: colormap