Give centre of current view, in world coords.
Default position of a scripted key.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(out) | :: | cx |
x of view centre. |
||
| real(kind=real64), | intent(out) | :: | cy |
y of view centre. |
subroutine kipp_window_center(cx, cy) !! Give centre of current view, in world coords. !! !! Default position of a scripted key. ! Arguments real(real64), intent(out) :: cx !! x of view centre. real(real64), intent(out) :: cy !! y of view centre. cx = 0.5d0*(xtrans(st%xmin) + xtrans(st%xmax)) cy = 0.5d0*(ytrans2(st%ymin) + ytrans2(st%ymax)) end subroutine kipp_window_center