Легенда в р

legend({'y = sin(x)','y = cos(x)'},'Location','southwest')
Lively Llama