필터 지우기
필터 지우기

Why do not I graph the points in the axes graph?

조회 수: 1 (최근 30일)
Erwin Avendaño
Erwin Avendaño 2017년 11월 5일
답변: Walter Roberson 2017년 11월 5일
f=inline(get(handles.edit23,'string'));
axes(handles.axes2);
scatter(str2double(get(handles.edit8,'string')),str2double(get(handles.edit10,'string')),'filled')
scatter(str2double(get(handles.edit11,'string')),str2double(get(handles.edit12,'string')),'filled')
scatter(str2double(get(handles.edit13,'string')),str2double(get(handles.edit14,'string')),'filled')
scatter(str2double(get(handles.edit15,'string')),str2double(get(handles.edit16,'string')),'filled')
scatter(str2double(get(handles.edit17,'string')),str2double(get(handles.edit18,'string')),'filled')
scatter(str2double(get(handles.edit19,'string')),str2double(get(handles.edit20,'string')),'filled')
ezplot(f,[-40,40]),grid on;

채택된 답변

Walter Roberson
Walter Roberson 2017년 11월 5일
You are missing
hold on
After the first scatter(), and
hold off
After the ezplot()

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by