histogram Subroutine

public subroutine histogram(data, n, bins, density, label, color)

Python-accessible histogram function

Arguments: data: Data array for histogram n: Array size bins: Optional number of bins density: Optional density normalization label: Optional label for legend color: Optional RGB color

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), dimension(n) :: data
integer, intent(in) :: n
integer, intent(in), optional :: bins
logical, intent(in), optional :: density
character(len=*), intent(in), optional :: label
real(kind=wp), intent(in), optional, dimension(3) :: color