Validate grid dimensions for pcolormesh with flexible dimension support
Accepts both Fortran-style and C-style dimension conventions:
- Fortran: C(ny,nx) with x(nx+1), y(ny+1)
- C-style: C(nx,ny) with x(nx+1), y(ny+1)
| Type | Intent | Optional | 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 |