Is there an eraser for Matlab graphs?

2 ビュー (過去 30 日間)
Mohsen
Mohsen 2019 年 9 月 2 日
回答済み: Rik 2019 年 9 月 3 日
A journal instructs authors that curves in a graph should not cross text labels. This creates a dilemma of how to put a label where there are many curves. One possibility is to put a "white out" where you want to add a label, after you have plotted the curves and before inserting the label.
But I think there is no sense of time order of "first" and "second" item on a graph. So I am wondering if there is another solution.
( Currently I terminate the plots in the vicinity of the lable and then restart them after the label. Obviously a slow process. )
  1 件のコメント
darova
darova 2019 年 9 月 3 日
Can you make a printscreen? What about
legend('curve1','curve2','Location','Best')

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

回答 (1 件)

Rik
Rik 2019 年 9 月 3 日
You can use the annotation function to force a white background around a text label. If you add the annotation after plotting your graphs it will automatically be on top.

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by