user creation plot in gui
Mostrar comentarios más antiguos
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

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre App Building 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!