Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to display axes handle as a plot in App Designer

1 回表示 (過去 30 日間)
Kang Zhou
Kang Zhou 2019 年 4 月 5 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello everyone,
I'm making a simple App which contains an Axes (app.Figure). I need to use a built-in function (rnaplot) to generate a plot (f). How to display this plot in the Axes? I tried `app.Figure = f`. It does not work.
Thanks!
Kang
dna = app.DNA.Value;
dna = upper(dna);
struc = rnafold(dna, 'nogu', 1);
f = rnaplot(struc, 'sequence', dna, 'format', 'diagram');
app.Figure = f;

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by