colorbar Subroutine

public subroutine colorbar(label, location, fraction, pad, shrink, plot_index, ticks, ticklabels, label_fontsize)

Add a colorbar for the active figure.

Parameters label : character(len=), optional Colorbar label. location : character(len=), optional Placement keyword such as 'right' or 'bottom'. fraction : real(wp), optional Relative colorbar size. pad : real(wp), optional Gap between the plot and the colorbar. shrink : real(wp), optional Relative shrink factor. plot_index : integer, optional Plot record to use for the color scale. ticks : real(wp), optional Explicit tick positions. ticklabels : character(len=*), optional Tick label strings. label_fontsize : real(wp), optional Font size for the colorbar label.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in), optional :: label
character(len=*), intent(in), optional :: location
real(kind=wp), intent(in), optional :: fraction
real(kind=wp), intent(in), optional :: pad
real(kind=wp), intent(in), optional :: shrink
integer, intent(in), optional :: plot_index
real(kind=wp), intent(in), optional :: ticks(:)
character(len=*), intent(in), optional :: ticklabels(:)
real(kind=wp), intent(in), optional :: label_fontsize