Shared interpolation utilities for contour plotting
This module provides bilinear interpolation functions used by both raster and PDF backends for Z-value interpolation in contour plots.
Author: fortplot contributors
Bilinear interpolation of Z value at world coordinates Refactored to be under 100 lines (QADS compliance)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | x_grid(:) | |||
real(kind=wp), | intent(in) | :: | y_grid(:) | |||
real(kind=wp), | intent(in) | :: | z_grid(:,:) | |||
real(kind=wp), | intent(in) | :: | world_x | |||
real(kind=wp), | intent(in) | :: | world_y | |||
real(kind=wp), | intent(out) | :: | z_value |