Can somebody give me an example on how to use voronoi(AX,...)

voronoi(AX,...) plots into AX instead of gca. For some reason i can't get this function to work. can somebody give me an example on how to use this?

 採用された回答

ChristianW
ChristianW 2013 年 3 月 2 日

0 投票

AX1 = axes('position',[0.1 0.1 0.8 0.4]);
AX2 = axes('position',[0.1 0.6 0.8 0.4]);
x = gallery('uniformdata',[1 10],0);
y = gallery('uniformdata',[1 10],1);
voronoi(AX1,x,y,'r')
voronoi(AX2,x,y,'g')

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeVoronoi Diagram についてさらに検索

質問済み:

2013 年 3 月 2 日

コメント済み:

HG
2021 年 6 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by