フィルターのクリア

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 Center および File ExchangeGeographic Plots についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by