Effacer les filtres
Effacer les filtres

Matlab Error using patch Patch cannot be a child of GeographicAxes

23 vues (au cours des 30 derniers jours)
Hülya Sukas
Hülya Sukas le 10 Fév 2020
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 commentaire
Mrunmayee Gaikwad
Mrunmayee Gaikwad le 30 Déc 2020
Plotting polygons (including using patch) is currently not supported in GeographicAxes. This previous answer might help: Overlay polygon on geographic axes

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Geographic Plots dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by