ploting issues in program

Steve Holden steve at holdenweb.com
Thu Aug 16 13:31:36 CEST 2007


Peter Otten wrote:
> yadin wrote:
> 
>> can you please help me to fix these polar plot in db's
>> so that the center is at the minimun negative number in voltagedb
>> about [-50]
>> and the maximun is at zero and how can i see values on the axis like
>> showing that the axes start at -50 -40 -30 .....and end at zero
> 
> You posted this question several times now and got no response that you
> liked enough to abstain from reposting.
> 
> Now your options are:
> 
> - Try another forum (the matplotlib mailing list would be a good candidate)
> - Show some initiative: add 50 to the dB values and be done
> 
>>  here is the program
> 
> [...]
> 
>> voltagedb =  [-48.7906044 ,-11.51244516, -5.58650713, -2.34604603,
>> -0.56767793,  0.        ,
>>               -0.60034598, -2.41427014,
>> -5.7042726 ,-11.75411924,-48.7906044 ,
>>               -11.51244516, -5.58650713, -2.34604603, -0.56767793,
>> 0.        ,
>>               -0.60034598, -2.41427014, -5.7042726 ,-11.75411924,]
> 
> voltagedb = [v+50 for v in voltagedb]
> 
>> polar(angteta,voltagedb)
>>
>> show()
> 
The better the advice the worse it's wasted ...

I might ask just exactly what is being plotted to give those answers. It 
sounds like field strength, but I am having difficulty envisaging a 
field that is weakest at its center - is this some sort of alternative 
universe you are plotting :-) ?

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 -------------




More information about the Python-list mailing list