Vector/line from polar coordinates


How can i draw a vector/line starting from polar coordinates (magnitude and angle) instead of rectangular coordinates (x, y) in python with matplotlib? I started learning python just a couple days ago.


Translate polar co-ordinates to cartesian co-ordinates by doing the following:

x = magnitude*cos(angle) y = magnitude*sin(angle)

Note: Double check if you are using degrees or radians. Usually cos and sin expect radians. To translate from angle to radians, multiply by (2*pi)/360. To translate from radians to angle, multiply by 360/(2*pi).


  • How to create curved UIButton for iPhone application
  • Making round corners for a UIImage
  • Getting Coordinates of a Point in a circle
  • matplotlib issues when nan first in list
  • Issue clearing the Tkinter Canvas widget using also matplotlib
  • How to setCenter mapview with location in google maps sdk for iOS
  • Dendrogram or Other Plot from Distance Matrix
  • Putting incomplete nested lists in a rectangular ndarray
  • Recreate Apple Watch fitness tracker ‘progress’ bar - gradient on CAShapeLayer stroke
  • IIS 7.5 404 Error for .PDF files
  • Combining many rectangles into fewer rectangles
  • how to load css classes from my own project specfic css in Sitecore's RAD editor?
  • Autohotkey script running program with command line arguments
  • runtime-check whether an instance (Base*) override a parent function (Base::f())
  • Is there a package like bigmemory in R that can deal with large list objects?
  • XSLT foreach repeating nodes to flat
  • import scipy.sparse failed
  • How can I replace the server in Web Component Tester
  • Clear activity stack before launching another activity
  • Row to Column conversion in Talend
  • How to access culture data in globalize.js V1.0.0
  • Custom preprocessing in caret
  • During installation of Django, why do I keep getting ImportError: No module named django?
  • where do I find the xml.dom python package for the python-2.6.0-8.9.28 and I have a suse/x86_64 vers
  • Python pickle not one-to-one: different pickles give same object
  • calculate gradient output for Theta update rule
  • Is it possible to open regedit and navigate to straight to a specific key using process.start?
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • How to determine if there are bytes available to be read from boost:asio:serial_port
  • Date Conversion from yyyy-mm-dd to dd-mm-yyyy
  • print() is showing quotation marks in results
  • Record samples being played with OpenAL
  • Initializer list vs. initialization method
  • formatting the colorbar ticklabels with SymLogNorm normalization in matplotlib
  • Using $this when not in object context
  • How do I fake an specific browser client when using Java's Net library?
  • How reduce the height of an mschart by breaking up the y-axis
  • How to draw moving and Running sine wave chart using JFree chart in java?
  • Perl system calls when running as another user using sudo
  • Revoking OAuth Access Token Results in 404 Not Found