필터 지우기
필터 지우기

can you please help me to color the area covered by ABCD in this graph?

조회 수: 1 (최근 30일)
can you please help me to color the area covered by ABCD in this graph?
x1=[0.8043 0 ];
y1=[0 0.0789 ];
plot(x1,y1,'k ')
hold on
x2=[0.8407 0 ];
y2=[0 0.0825 ];
plot(x2,y2,'b ')
hold on
x3=[0.8726 0 ];
y3=[0 0.0890 ];
plot(x3,y3,'g ')
hold on
x4=[0.1 0.2 ];
y4=[0 0.1];
plot(x4,y4,'r ')
xlim([0,0.9 ])
ylim([0,0.1 ])
xticks([0 0.9 ])
xticklabels({'0','0.9 '})
yticks([0 0.1 ])
yticklabels({'0','0.1 '})
xlabel('PVB content in binder ')
ylabel('SA content in binder ')
  댓글 수: 3
Kaluachchi Gedara Saumya Bandara
i donotnknow how to find te intersection section points coud you please help me to colir the graph?

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 12월 4일
coud you please help me to colir the graph?
fill([A_x, B_x, D_x, C_x], [A_y, B_y, D_y, C_y]);
where (A_x, A_y) are the coordinates of point A, (B_x, B_y) are the coordinates of point B, and so on.
Finding the coordinates is mathematics.

카테고리

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

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by