Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

How to display axes handle as a plot in App Designer

1 visualizzazione (ultimi 30 giorni)
Kang Zhou
Kang Zhou il 5 Apr 2019
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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;

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by