Plot Pulseq automatically generates a new plot

4 ビュー (過去 30 日間)
Ingo Hermann
Ingo Hermann 2017 年 11 月 6 日
回答済み: Walter Roberson 2017 年 11 月 6 日
Why does the command
plot(FLASH,'TimeRange',[0 20e-3])
automatically generates a new plot windows although I use the command
fig(1) = figure(1);clf(1);hold on;
in front of the plot command? I have one empty plot and in figure 2 my sequence.
Therefor I use the pulseq OpenSource: https://pulseq.github.io/

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 11 月 6 日
This behaviour appears to be hard-coded into the source code https://github.com/pulseq/pulseq/blob/master/matlab/%2Bmr/%40Sequence/Sequence.m of that third-party product. Look near line 294, in the plot routine, where it does
fig = figure;
That unconditionally creates a new figure.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by