필터 지우기
필터 지우기

When I use the patch function Matlab crashed

조회 수: 1 (최근 30일)
B.E.
B.E. 2020년 10월 1일
답변: Steven Lord 2020년 10월 1일
I colored the two surfaces, but when I want to color the third surface (in white) Matlab crashes.
mycolor1=[1 0 0];
mycolor2=[0.4660, 0.6740, 0.1880];
mycolor3=[0.75, 0.75, 0];
patch([t_1 t_1(end)],[ph_1 0],mycolor1,'FaceAlpha',0.3)
patch([t_1(1) t_1 fliplr(t_2)],[ph_2(1) ph_1 fliplr(ph_2)],mycolor2,'FaceAlpha',0.3)
My problem: when I use this code to color the surface white Matlab crashes
patch([t_2 t_2(end)],[ph_2 b],mycolor3,'FaceAlpha',0.3)

답변 (1개)

Steven Lord
Steven Lord 2020년 10월 1일
Please send the crash log file to Technical Support using the telephone icon in the upper-right corner of this page so the Support staff can investigate the cause of the crash.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by