axis function in Appdesigner
Mostrar comentarios más antiguos
I'm trying to plot a single cycle of a wave. I've managed to do it in a test script using the axis function and limiting the range that is shown. However when I try to implement it into the app designer, it continues to plot the full wave and plots a second blank graph. My question is, does the axis function work differently when applied to a graph in the appdesigner? I've left some code out but below is what I use to limit the axis in app designer. The same code works in a standard function.
T = 1/modfreq ;
dt = 1/fs;
tt = 0:dt:T+dt ;
plot(app.UIAxes, len, wave)
axis([0 length(tt) 0 1])
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!