Circular Patch of Dots
古いコメントを表示
Greetings everyone, I'm trying to create a code for generating a (circular) patch of dots (e.g. 40 dots). My problem lies on the position of the dots within that patch since I do not want them to overlap with each other, and I need to position my patch on the upper left and lower right of my screen. Could give me some guidance or suggest any relevant tutorials? Thank you very much in advance.
Best
3 件のコメント
José-Luis
2016 年 12 月 14 日
What have you tried so far? How should the output look like?
Jan
2016 年 12 月 14 日
If the "dots" should not overlap, they have a certain radius. Please clarify this explicitely. What exactly is a "patch" in your case? The "upperleft of the screen"? Do you mean the position of the figure? Or is it a full-screen figure?
We need all details for a useful answer.
Andromachi Tsouli
2016 年 12 月 14 日
編集済み: Andromachi Tsouli
2016 年 12 月 14 日
回答 (1 件)
KSSV
2016 年 12 月 14 日
clc; clear all ;
N = 100 ;
plot(rand(N,1),rand(N,1),'.r','markersize',30)
カテゴリ
ヘルプ センター および File Exchange で Image display and manipulation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
