Large number of plots

6 ビュー (過去 30 日間)
Rob L
Rob L 2020 年 11 月 12 日
編集済み: Rob L 2020 年 12 月 7 日
I am using ive editor to run a function that generates ~= 150 plots. I keep these open because once the script has completed I wish to save the output to a Word doc.
When the function runs from commands line, the plots are generated as expected (though slower as the number of open figures increases). However, when run from live editor it locks up and never completes.
Is there a way to prevent this slow down ?

回答 (1 件)

Steven Lord
Steven Lord 2020 年 11 月 12 日
Rather than opening ~150 figure windows simultaneously, why not publish the document so you only need to have one figure open at a time?
  1 件のコメント
Rob L
Rob L 2020 年 12 月 7 日
編集済み: Rob L 2020 年 12 月 7 日
Publishing the document highlighted the issue in that a new figure was produced in the document every time I updated the plot (say by changing marker colour). This generated a very large number of plots which explains the slow behaviour (or in the case of publish, a very large document).
I tried not displaying the figure until all changes had been made (via 'visibility') - whilst this worked in terms of reducing the number of images, it also changed the appearance of the plot negatively (subjective).

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

カテゴリ

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

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by