how to plot 2D graph in GUI?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ramesha
am 12 Apr. 2014
Kommentiert: ramesha
am 14 Apr. 2014
i have two co-ordinates like x and y, I enter the values of x and y then how to plot in GUI? X Y 2 4 4 6 7 8 take the above values i plot the graph in GUI?
0 Kommentare
Akzeptierte Antwort
Alberto
am 12 Apr. 2014
function exgui
fh = figure( 'units','pixels',... 'position',[50 ,50 , 600, 500]);
X=[2 4 7] Y=[4 6 8] h=plot(X,Y,'--r','LineWidth',1) ;
end
3 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Specifying Target for Graphics Output finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!