Effacer les filtres
Effacer les filtres

Randomly generated complex polygon with user input

1 vue (au cours des 30 derniers jours)
Matthew
Matthew le 5 Avr 2013
I want to generate a randomly shaped complex polygon which has start point (0,0) and has vertices defined by user input.

Réponse acceptée

Image Analyst
Image Analyst le 5 Avr 2013
How about using ginput() or impoly()?
  17 commentaires
Matthew
Matthew le 7 Avr 2013
YES! it works :) thank you. Now I just have to flip it in the x and y axis.
Image Analyst
Image Analyst le 7 Avr 2013
There is an 'xdir' property where you can reverse the direction. I think it's something like
set(gca, 'xdir', 'reverse');
or something like that. If this is solved, then mark the answer as "Accepted."

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by