contour Subroutine

public subroutine contour(x, y, z, levels, cmap, label, colormap)

Draw contour lines.

Parameters x : real(wp), contiguous, intent(in) X grid coordinates. y : real(wp), contiguous, intent(in) Y grid coordinates. z : real(wp), contiguous, intent(in) Field values on the grid. levels : real(wp), optional Contour levels. cmap : character(len=), optional Colormap name. label : character(len=), optional Legend label. colormap : character(len=*), optional Deprecated alias for cmap.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), contiguous :: x(:)
real(kind=wp), intent(in), contiguous :: y(:)
real(kind=wp), intent(in), contiguous :: z(:,:)
real(kind=wp), intent(in), optional :: levels(:)
character(len=*), intent(in), optional :: cmap
character(len=*), intent(in), optional :: label
character(len=*), intent(in), optional :: colormap