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일
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 Exchange에서 Voronoi 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