Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to display axes handle as a plot in App Designer

1 visualización (últimos 30 días)
Kang Zhou
Kang Zhou el 5 de Abr. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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;

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by