Borrar filtros
Borrar filtros

How to overlap various polygons in a single diagram? Also how to find the global centroid for all of the plotted polygons?

1 visualización (últimos 30 días)
I already have the answer to find the centroid of a single polygon, just need to know it's extension.

Respuestas (1)

Steven Lord
Steven Lord el 1 de Ag. de 2019
If you have a vector of polyshape objects, you can plot the vector to see all the polyshape objects in the same axes. Take the union of the vector of polyshape objects and compute the centroid of that unified polyshape.
  2 comentarios
Steven Lord
Steven Lord el 26 de Ag. de 2019
What information do you have?
Vectors of coordinates of the vertices of the polygons? If so use those to construct polyshape objects and compute the centroid of the union of those objects.
Images / pictures of the polygons?
Something else?

Iniciar sesión para comentar.

Categorías

Más información sobre Elementary Polygons en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by