fill Interface

public interface fill

Module Procedures

private subroutine fill_string(x, y, color, alpha, step)

Fill the area between a curve and zero. step activates stair fill to match matplotlib's step argument on fill_between.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), contiguous :: x(:)
real(kind=wp), intent(in), contiguous :: y(:)
character(len=*), intent(in) :: color
real(kind=wp), intent(in), optional :: alpha
character(len=*), intent(in), optional :: step

private subroutine fill_rgb(x, y, color, alpha, step)

RGB-color variant of fill.

Arguments

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

private subroutine fill_default(x, y, alpha, step)

fill called without an explicit color uses the figure palette. Kept as a dedicated overload so matplotlib-style no-color calls remain legal through the generic interface.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), contiguous :: x(:)
real(kind=wp), intent(in), contiguous :: y(:)
real(kind=wp), intent(in), optional :: alpha
character(len=*), intent(in), optional :: step