scatter Subroutine

public subroutine scatter(x, y, n, s, c, label, marker, markersize, color, colormap, vmin, vmax, show_colorbar)

Python-accessible scatter plot function

Arguments: x, y: Data arrays for scatter plot points n: Array size s: Optional marker sizes c: Optional color values label: Optional label for legend marker: Optional marker style markersize: Optional marker size color: Optional RGB color colormap: Optional colormap name vmin, vmax: Optional color scale limits show_colorbar: Optional colorbar display flag

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
real(kind=wp), intent(in), optional, dimension(:) :: s
real(kind=wp), intent(in), optional, dimension(:) :: c
character(len=*), intent(in), optional :: label
character(len=*), intent(in), optional :: marker
real(kind=wp), intent(in), optional :: markersize
real(kind=wp), intent(in), optional, dimension(3) :: color
character(len=*), intent(in), optional :: colormap
real(kind=wp), intent(in), optional :: vmin
real(kind=wp), intent(in), optional :: vmax
logical, intent(in), optional :: show_colorbar