fill_between Interface

public interface fill_between

Module Procedures

private subroutine fill_between_string(x, y1, y2, where, color, alpha, interpolate, step)

Matplotlib-style fill_between with string color. y1 is required (matching matplotlib); y2 defaults to zero.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), contiguous :: x(:)
real(kind=wp), intent(in), contiguous :: y1(:)
real(kind=wp), intent(in), optional :: y2(:)
logical, intent(in), optional :: where(:)
character(len=*), intent(in), optional :: color
real(kind=wp), intent(in), optional :: alpha
logical, intent(in), optional :: interpolate
character(len=*), intent(in), optional :: step

private subroutine fill_between_rgb(x, y1, y2, where, color, alpha, interpolate, step)

RGB-color variant of fill_between. Same positional layout as the string variant; color keyword type distinguishes the two.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), contiguous :: x(:)
real(kind=wp), intent(in), contiguous :: y1(:)
real(kind=wp), intent(in), optional :: y2(:)
logical, intent(in), optional :: where(:)
real(kind=wp), intent(in) :: color(3)
real(kind=wp), intent(in), optional :: alpha
logical, intent(in), optional :: interpolate
character(len=*), intent(in), optional :: step