Regarding plot display issue
1 回表示 (過去 30 日間)
古いコメントを表示
I am unable to view the plot after giving plot command. The figure window looks blank. I am attaching a snap of how it looks. Please help me with this.
8 件のコメント
dpb
2020 年 11 月 14 日
What can happen to cause the symptom you saw before is, that without code between the time you created the figure you intended to plot into you may have looked at another figure manually. That user intervention would have changed the current axes from the figure so that the implicit handle in a plot() command without an explicit reference would use gca -- the one then being pointed at, not the figure that was created.
That's just one easy to visualize way that focus can change sorta' unexpectedly -- there are many other ways besides...hence the recommendation to always be safe when coding.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Specifying Target for Graphics Output についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!