View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Plot the angle arc for some angle.

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.5
4.5 | 4 ratings Rate this file 18 Downloads (last 30 days) File Size: 1.29 KB File ID: #21940 Version: 1.0
image thumbnail

Plot the angle arc for some angle.

by

 

Similar to plotting a circle, only plots an arc based on its centre, radius and angle span.

| Watch this File

File Information
Description

It's nothing groundbreaking but I use this all the time and thought I should share it with other knowledge seekers. The function is very helpful if you're into plotting mechanisms and various angles within one axes.

Acknowledgements

Draw A Circle. inspired this file.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
14 Nov 2016 Khalid Alyhyae

very code

24 Mar 2016 Barnaby Dobson  
14 Nov 2012 Michael

It's useful, but it can only plot arcs < 180°, in other words span=[a,b] gives the same arc as span=[b,a]. If you don't want that, add e.g.
if span(2)<span(1)
span(2) = span(2) + 2*pi;
end
before theta = ...

18 May 2011 Sadik

Sadik (view profile)

Worked well for me. Thank you!

Contact us