legend Subroutine

public subroutine legend(loc, box, fontsize, position)

Display the figure legend.

Parameters loc : character(len=), optional Legend location string such as 'upper right' or 'best'. box : logical, optional Accepted for matplotlib parity. fontsize : integer, optional Accepted for matplotlib parity. position : character(len=), optional Deprecated alias for loc.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in), optional :: loc
logical, intent(in), optional :: box
integer, intent(in), optional :: fontsize
character(len=*), intent(in), optional :: position