validate_pcolormesh_grid Subroutine

public subroutine validate_pcolormesh_grid(x_coords, y_coords, c_data, error)

Validate grid dimensions for pcolormesh

For regular grids: x(nx+1), y(ny+1), C(ny,nx) For flat shading: vertices define quad corners

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x_coords(:)
real(kind=wp), intent(in) :: y_coords(:)
real(kind=wp), intent(in) :: c_data(:,:)
type(fortplot_error_t), intent(out), optional :: error