Map world x coord back to display units.
Inverse of xtrans; exponent clamped to +-300 to stay in real64 range.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | w |
World x coordinate. |
pure function inv_x(w) result(v) !! Map world x coord back to display units. !! !! Inverse of `xtrans`; exponent clamped to +-300 to stay in real64 range. ! Arguments real(real64), intent(in) :: w !! World x coordinate. real(real64) :: v if (st%xlog) then v = 10.d0**max(min(w, 300.d0), -300.d0) else v = w + xoff end if end function inv_x