hi i create two plots in a gui and when i use push button to plot a graph one of the axes work corectly butt the second axes covers complete gui need help????

2 views (last 30 days)
function flipbtn_Callback(hObject, eventdata, handles) % hObject handle to flipbtn (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
handles.y=fliplr(handles.x); %axes(handles.output) %stem(handles.y); guidata(hObject,handles) axes(handles.output); % Make current axes axes1. stem(handles.y, 'b*-', 'LineWidth', 2, 'MarkerSize', 13);

Answers (0)

Categories

Find more on Line Plots 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!