user creation plot in gui
Show older comments
hey guys
im triyng to build a plot in gui witch get from user the x scale and jumps , y scale and jumps , style and color
for some reason im not sure if im getting it right , can someone give me some lead for it ?
thx!
the code ( only the sector when pusing the plot button)
% Button pushed function: plotButton
function plotButtonPushed(app, event)
Xdata= (get(app.XbeginEditField):get(app.XendEditField):get(app.XjumpEditField));
Ydata= (get(app.YbeginEditField):get(app.YendEditField):get(app.YjumpEditField)) ;
LineStyle= get(app.StyleEditField);
Color= get(app.ColorEditField);
plot(Xdata,Ydata,LineStyle,Color);
end
end

Accepted Answer
More Answers (0)
Categories
Find more on App Building in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!