plot Subroutine

public subroutine plot(x, y, n, label, linestyle)

Python-accessible plot function for line plots

Arguments: x, y: Data arrays for line plot n: Array size label: Optional label for legend linestyle: Optional line style string

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), dimension(n) :: x
real(kind=wp), intent(in), dimension(n) :: y
integer, intent(in) :: n
character(len=*), intent(in), optional :: label
character(len=*), intent(in), optional :: linestyle