Is polyarea command related to fill comand?

2 ビュー (過去 30 日間)
Rafi
Rafi 2014 年 10 月 16 日
回答済み: Sean de Wolski 2014 年 10 月 16 日
In the attachment you can find a plot of the data I want to analyze. I used the fill command to color the polygon, which works quite nicely. I want to find the area of colored filling. Does the polyarea command exactly calculate the specified area? Or are there better approximations?

採用された回答

Sean de Wolski
Sean de Wolski 2014 年 10 月 16 日
Polyarea will calculate the area of the polygon from the vertices. Fill is probably doing a little bit more interpolation, but the areas should match each other closely.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Polygons についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by