Set x,y and plot labels
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | xLabel | Label for x-axis |
||
character(len=*), | intent(in) | :: | yLabel | Label for x-axis |
||
character(len=*), | intent(in) | :: | plotLabel | Label entire plot |
||
character(len=*), | intent(in), | optional | :: | color | Color of labels |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module.
subroutine labels(xLabel,yLabel,plotLabel,color)
!! Set x,y and plot labels
character(*),intent(in)::xLabel
!! Label for x-axis
character(*),intent(in)::yLabel
!! Label for x-axis
character(*),intent(in)::plotLabel
!! Label entire plot
character(*),intent(in),optional::color
!! Color of labels
if(present(color)) call setColor(color)
call pllab(xLabel,yLabel,plotLabel)
call resetPen()
end subroutine labels