Hey !
Is there possibility to place a legend of the plot behind the area of a graph?

7 件のコメント

Star Strider
Star Strider 2019 年 6 月 10 日
Please explain in more detail what you want to do, preferably with an example.
Elzbieta Trynkiewicz
Elzbieta Trynkiewicz 2019 年 6 月 10 日
Command:
plot(X,y,'*-');
legend('something','Location','NorthEast') % for example
allow to place legend inside the plot (like on 'A' image), but I would like to place legend behind the area of plot (exactly like on 'B image').
Alex Mcaulley
Alex Mcaulley 2019 年 6 月 10 日
plot(X,y,'*-');
legend('something','Location','northeastoutside') % have you tried this???
Elzbieta Trynkiewicz
Elzbieta Trynkiewicz 2019 年 6 月 10 日
Ou, thank you :) It is exactly what I was looking for. Too bad there is no information about such command in the mathwork documentation. It is so easy.
Rik
Rik 2019 年 6 月 10 日
It is right there in the documentation: Link
madhan ravi
madhan ravi 2019 年 6 月 10 日
編集済み: madhan ravi 2019 年 6 月 10 日
Elzbieta Trynkiewicz
Elzbieta Trynkiewicz 2019 年 6 月 10 日
Ou, right, my bad. The darkest place is under the candlestick :)

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2019 年 6 月 10 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by