legend — graph legend
legend show
legend hide
legend(string1,string2,string3,...,pos)
legend(ax,...)
legend(string1,string2,string3, ...) puts a legend on the current plot using the specified strings as labels.
legend(...,Pos) places the legend in the specified location
1 | Upper right-hand corner (default) |
2 | Upper left-hand corner |
3 | Lower left-hand corner |
4 | Lower right-hand corner |
5 | Interactive placement with the mouse |
legend show