call data plot graph on click
Mostrar comentarios más antiguos
pain = abs(pa_in_d4(:,1));%Sample Points
paout = abs( pa_out_d4(:,1));%empirical result at each sample point
%n=10;
figure(1);
plot(pain,paout);grid on;
title('pa_in_d4 V/S pa_out_d4');
xlabel('pa_in_d4(db)');
ylabel('pa_out_d4(db)');
how to call this data and plot a graph on click in gui.
1 comentario
Jay Desai
el 5 de Mzo. de 2016
Respuestas (1)
Walter Roberson
el 5 de Mzo. de 2016
0 votos
You can use an axes ButtonDownFcn callback, or a figure ButtonDownFcn callback, or an figure WindowButtonDownFcn callback. Or possibly you want to use a uicontrol('style','push') with a Callback callback.
2 comentarios
Jay Desai
el 5 de Mzo. de 2016
Walter Roberson
el 5 de Mzo. de 2016
No. No-one has happened to need that general sequence closely enough for anyone to have bothered to program it to be able to just pass in parameters.
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!