473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

negative polar axis

hi!
how can i do polar plot in python with negative axes
that is the value of the magnitude is negative

Aug 13 '07 #1
3 2428
yadin wrote:
hi!
how can i do polar plot in python with negative axes
that is the value of the magnitude is negative
Surely a negative magnitude doesn't make sense in polar coordinates,
since the magnitude is supposed to represent the distance from the center.

About the best interpretation I can think of is to add 180 degrees to
the angle and reverse the sign of the magnitude, but this would be a
hack. Where are those coordinates coming from?

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------

Aug 13 '07 #2
Steve Holden wrote:
About the best interpretation I can think of is to add 180 degrees to
the angle and reverse the sign of the magnitude, but this would be a
hack. Where are those coordinates coming from?
Well, sometimes in polar coordinates (r, theta), r is allowed to be
negative. The usual translation from polar to Cartesian coordinates
makes this meaningful, albeit weird, so in effect the resulting
positions are just reflections around the origin.

Which I suppose is what the original poster was asking about, but it's
still not clear.

--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM, Y!M erikmaxfrancis
The conviction of wisdom is the plague of man.
-- Montaigne
Aug 13 '07 #3
On 10:58 Mon 13 Aug , Erik Max Francis wrote:
Steve Holden wrote:
About the best interpretation I can think of is to add 180 degrees to
the angle and reverse the sign of the magnitude, but this would be a
hack. Where are those coordinates coming from?

Well, sometimes in polar coordinates (r, theta), r is allowed to be
negative. The usual translation from polar to Cartesian coordinates
makes this meaningful, albeit weird, so in effect the resulting
positions are just reflections around the origin.

Which I suppose is what the original poster was asking about, but it's
still not clear.
Many years ago when I started programming machine tools (on punched
paper tape) if you wished to specify a cutter path around a radius as
being more than 180 degrees you programmed it as a negative r value.
There are 2 possible paths from x1y1 to x2y2 along a radius r and going
in the same direction; that less than 180 deg and that more than 180
deg, unless the radius is exactly 180. But this was rarely used, the
other method of specifying the end point as an incremental value in
relation to the radius centre is less error prone when the arcs are
close to 180.

Sorry about the slight diversion but I'm getting nostalgic.

Regards, John
--
War is God's way of teaching Americans geography
Ambrose Bierce (1842 - 1914)
Aug 13 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Google Mike | last post by:
I like PHP a lot. It's my favorite programming language. That's not to say that I'd like to see it grow more or for derivatives to come from it. For me, the ideal programming language would be: ...
1
by: Dave Keays | last post by:
I am setting-up an experimental web service using Apache Axis but I'm having problems. AXIS can't find a library that I've verified exists on my computer and that CLASSPATH points to it. I'm using...
3
by: parrot toes | last post by:
Summary: I have been trying to make requests of a web service provided by Axis using a dotnet client with code generated by wsdl.exe and have been getting exceptions when trying to process the...
4
by: nawrin22 | last post by:
hi.. I am a niwebie in 'AXIS' . but i had correctly installed it without any problem with the help of 'apache.axis.install.pdf' and also tested the examples under 'samples\userguide' directoy...
3
by: Jeremy Chapman | last post by:
I've writtin a very simple web service in axis which returns an array of classes. I consume it in a .net app. When receiving the response, my .net app generates an error "Cannot assign object...
0
by: TraceyAnnison | last post by:
I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis. We have a Java project built with the Spring framework, in order to...
0
by: yadin | last post by:
hi every one can you please can you help me to fix these polar plot in db's so that the center is at the minimun negative number in voltagedb about and the maximun is at zero how can i see...
10
by: schaefer.mp | last post by:
Does anyone know of an approximation to raising a negative base to a fractional exponent? For example, (-3)^-4.11111 since this cannot be computed without using imaginary numbers. Any help is...
3
by: afrogazer | last post by:
I am creating a wind rose using a polar bar plot bu the points do not seem to align to the correct angles. Here is the sample code I am using. I can't seem to see anything in the API on how to set...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.