Heptapod
Heptapod

Reputation: 121

Python: Minimum Convex Polygon?

I've accidentally found an interesting way of representing data in the book: Comparative Vertebrate Neuroanatomy by Ann B. Butler. Below is the image with its description from the book. Does anyone know how to code such a plot in python?

Brain weight as a function of body weight

Upvotes: 0

Views: 907

Answers (1)

strubbly
strubbly

Reputation: 3477

This is called the Convex Hull. Many libraries including, for example, scipy, have algorithms to find the Convex Hull. And then Python has many different libraries for plotting a polygon, including, for example, matplotlib.

Upvotes: 1

Related Questions