Create a Multiple graph with tha same pop up manu
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ADC
el 10 de Dic. de 2018
Comentada: ADC
el 19 de Dic. de 2018
Hi All
I need to create a GUi with a multiple graph controlled by the same pop up menu, for exsample if I select the option 1 from the pop up menu I will get in graph 1 a plot that coming as plot (A(:,5),A(:,6) and in the second graph plot(A(:,8),A(:,9));
where A is a matrix that I already have;
It shoul be easy but I can't still find a solution....
2 comentarios
Jan
el 10 de Dic. de 2018
The question is not clear. We cannot guess what "graph 1" is or where "A" is coming from. Actually it should be easy to implement the code in the callback function of the menu. So please piost what you have tried so far and explain, which problem you have.
Respuesta aceptada
Cris LaPierre
el 14 de Dic. de 2018
Much easier to help if you share code of what you have attempted. That gives us a common starting point to go from.
plot(ax1,A(:,5),A(:,6))
plot(ax2,A(:,8),A(:,9))
where ax1 is a handle to the axes where you want to plot A5,A6 and ax2 is a handle to the axes where you want to plot A8,A9.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Specifying Target for Graphics Output en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!