polar_to_text_cell Subroutine

public pure subroutine polar_to_text_cell(frame, theta, r, r_max, theta_offset, clockwise, row, col)

Map a polar sample to a canvas cell. r_max is the shared radial axis maximum so r == r_max lands on the circular boundary.

Arguments

Type IntentOptional Attributes Name
type(polar_frame_t), intent(in) :: frame
real(kind=wp), intent(in) :: theta
real(kind=wp), intent(in) :: r
real(kind=wp), intent(in) :: r_max
real(kind=wp), intent(in) :: theta_offset
logical, intent(in) :: clockwise
integer, intent(out) :: row
integer, intent(out) :: col