LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 04-18-2011, 02:32 PM   #1
Gavin Harper
Member
 
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Rep: Reputation: 24
Unit Circle - Matplotlib


I am likely missing something shockingly obvious, since I can plot polar coordinates without an issue.

I would like to plot a Unit Circle (Radius of 1, I can somehow only plot a radius of 6).

I know this is entirely my own inexperience with Matplotlib but if anyone can shed some light, I would appreciate it.
 
Old 04-18-2011, 03:46 PM   #2
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
Quote:
Originally Posted by Gavin Harper View Post
I am likely missing something shockingly obvious, since I can plot polar coordinates without an issue.

I would like to plot a Unit Circle (Radius of 1, I can somehow only plot a radius of 6).

I know this is entirely my own inexperience with Matplotlib but if anyone can shed some light, I would appreciate it.
You don't provide enough specifics, e.g. no source code, no error messages, etc.

My most likely stupid guess is: 6 is close to 2 * pi, so probably you, while trying to plot an arc, swapped radius and angle.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
matplotlib--graphing against time pgb205 Programming 1 06-01-2009 02:35 PM
Storage unit and IO unit salmanucit Linux - General 2 06-18-2008 12:11 AM
matplotlib not displaying graphics in opensuse 10.2 djstrozzi Suse/Novell 0 02-03-2007 12:50 PM
matplotlib rpm OldAl Suse/Novell 2 11-19-2006 02:23 AM
Matplotlib: Need help fixing weird include error Neruocomp Linux - Software 1 09-15-2005 07:56 PM


All times are GMT -5. The time now is 09:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration