Map y value in display units to world coords.
For already-scaled view limits, so only log axis's log10 applies.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | v |
y value in |
pure function ytrans2(v) result(p) !! Map y value in display units to world coords. !! !! For already-scaled view limits, so only log axis's log10 applies. ! Arguments real(real64), intent(in) :: v !! y value in `st%munit` or `st%runit`. real(real64) :: p if (st%ylog) then p = log10(max(v, LOGMIN)) else p = v end if end function ytrans2