Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
how to plot in two axes
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
hi, i have two axes on my gui file, and i wanna plot different graphs to these axes, but i cant control where to plot, it plots wrong on axis, but when i try:***bold***
handlename=findobj(gcbf,'Tag','axes1')
plot(handlename,[..],[..])
matlab returns the error "vectors must be same lengths."
what is the problem?
thanks in advance
0 Commenti
Risposte (1)
Azzi Abdelmalek
il 7 Set 2013
Modificato: Azzi Abdelmalek
il 7 Set 2013
plot(x,y)
% x and y should have the same number of element
If you want to plot on axes1
plot(handles.axes1,x,y)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!