How can we display a graph in axis of matlab GUI by pressing another button(say display)?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
D Joseph
el 19 de Ag. de 2015
Comentada: D Joseph
el 21 de Ag. de 2015
How can we display a graph in axis of matlab GUI by pressing another button(say display)
0 comentarios
Respuesta aceptada
Morteza
el 19 de Ag. de 2015
Editada: Morteza
el 19 de Ag. de 2015
for that purpose u need to set axes as a current axis to plot1 for example: (Start is that button that must plot the data on axis) but before that u set axis in another place of your GUI by name of axes1
function Start_Callback(hObject, eventdata, handles)
axes(handles.axes1)
ezplot('sin(x)');
%
2 comentarios
Más respuestas (3)
Morteza
el 20 de Ag. de 2015
just create another button and use like below if you several axes
function Clear_Callback(hObject, eventdata, handles)
axes(handles.axes1)
cla;
Morteza
el 20 de Ag. de 2015
just create another button and use like below if you several axes
function Clear_Callback(hObject, eventdata, handles)
axes(handles.axes1)
cla;
0 comentarios
Morteza
el 20 de Ag. de 2015
just create another button and use like below if you several axes
function Clear_Callback(hObject, eventdata, handles)
axes(handles.axes1)
cla;
0 comentarios
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!