yscale Function

public pure function yscale() result(s)

Return cgs size of one y display unit.

st%runit on radius axis, else st%munit.

Arguments

None

Return Value real(kind=real64)


Source Code

   pure function yscale() result(s)
      !! Return cgs size of one y display unit.
      !!
      !! `st%runit` on radius axis, else `st%munit`.
      real(real64) :: s
      if (st%yaxis == 'radius') then
         s = UFAC(unit_id(st%runit))
      else
         s = UFAC(unit_id(st%munit))
      end if
   end function yscale