Borrar filtros
Borrar filtros

Matlab Error using patch Patch cannot be a child of GeographicAxes

23 visualizaciones (últimos 30 días)
Hülya Sukas
Hülya Sukas el 10 de Feb. de 2020
Comentada: Mrunmayee Gaikwad el 30 de Dic. de 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 comentario
Mrunmayee Gaikwad
Mrunmayee Gaikwad el 30 de Dic. de 2020
Plotting polygons (including using patch) is currently not supported in GeographicAxes. This previous answer might help: Overlay polygon on geographic axes

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Geographic Plots en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by