Safe coordinate transformation with aspect ratio preservation Updated to maintain correct aspect ratios like normalize_to_pdf_coords
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | x | |||
real(kind=wp), | intent(in) | :: | y | |||
real(kind=wp), | intent(in) | :: | x_min | |||
real(kind=wp), | intent(in) | :: | x_max | |||
real(kind=wp), | intent(in) | :: | y_min | |||
real(kind=wp), | intent(in) | :: | y_max | |||
real(kind=wp), | intent(in) | :: | plot_left | |||
real(kind=wp), | intent(in) | :: | plot_width | |||
real(kind=wp), | intent(in) | :: | plot_bottom | |||
real(kind=wp), | intent(in) | :: | plot_height | |||
real(kind=wp), | intent(out) | :: | pdf_x | |||
real(kind=wp), | intent(out) | :: | pdf_y |