Numbering lines passing through centre of circle and located at 0,90,180,270 degrees
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ajay Goyal
am 9 Okt. 2015
Kommentiert: Ajay Goyal
am 21 Dez. 2015
I have a circle of radius (say 5mm) and centre (say(0,0)). I have drawn 4 lines each at 90 degrees all passing trough centre of circle. I want to print numbers (1,2,3,4) at intersection points of line and clircle on the graph along with the lines. Please help
0 Kommentare
Akzeptierte Antwort
Thorsten
am 9 Okt. 2015
axis([-2 2 -2 2]), axis equal
for i = 1:4, text(cos(pi/2*(i-1)), sin(pi/2*(i-1)), int2str(i)), end
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Subplots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!