Matlab Error using patch Patch cannot be a child of GeographicAxes

23 次查看(过去 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?

回答(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