필터 지우기
필터 지우기

Matlab Error using patch Patch cannot be a child of GeographicAxes

조회 수: 23 (최근 30일)
Hülya Sukas
Hülya Sukas 2020년 2월 10일
댓글: Mrunmayee Gaikwad 2020년 12월 30일
I'm trying to use geoplot command. I want to create a trajectory using a ship geometry. I created ship geometry using patch command.
handle = patch('Vertices', V', 'Faces', F,...
'FaceColor','flat',...
'FaceVertexCData',colors );
It works when I use "plot" command. But when I try to plot the same date using "geoplot" I got this error:
Error using patch
Patch cannot be a child of GeographicAxes
Do you have any suggestions?
  댓글 수: 1
Mrunmayee Gaikwad
Mrunmayee Gaikwad 2020년 12월 30일
Plotting polygons (including using patch) is currently not supported in GeographicAxes. This previous answer might help: Overlay polygon on geographic axes

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geographic Plots에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by