Re: [Matplotlib-users] Hz to KHz

2010-07-29 Thread Matthias Michler
On Monday July 26 2010 18:23:29 Waléria Antunes David wrote: Hello all, I need to format the values of graphic to KHz.my values are in Hz see at idle python it displays the values as: 3000 3050 3100 3400 , but I need to go where it will be displayed KHz: 3.0 3.1 can someone help

[Matplotlib-users] hz to khz

2010-07-28 Thread Waléria Antunes David
Hello all, Well, my problem is ... My current code is as follow bellow: http://pastebin.com/7p2N5d64 and generates following image, the x-axis of the graph shows values em Hz, values that range from 3000 to 3400, my image is attached. But, i need the x-axis values is displayed in Khz, ranging

Re: [Matplotlib-users] hz to khz

2010-07-28 Thread Angus McMorland
On 28 July 2010 15:25, Waléria Antunes David waleriantu...@gmail.com wrote: Hello all, Well, my problem is ... My current code is as follow bellow: http://pastebin.com/7p2N5d64 Hi Waléria, We can't easily fix your problem without knowing what data f and Sserie contain. It would help us to

Re: [Matplotlib-users] hz to khz

2010-07-28 Thread Benjamin Root
On Wed, Jul 28, 2010 at 2:39 PM, Angus McMorland amcm...@gmail.com wrote: On 28 July 2010 15:25, Waléria Antunes David waleriantu...@gmail.com wrote: Hello all, Well, my problem is ... My current code is as follow bellow: http://pastebin.com/7p2N5d64 Hi Waléria, We can't easily fix

Re: [Matplotlib-users] hz to khz

2010-07-28 Thread Samuel Teixeira Santos
I think her problem is something like that His values on X Axis is a range between 3000 to 3400 without this division by 1000.0 his graphic processing normally but instead on X axis to show the range between 3000 to 3400 she needs to show this values transform in Hz (I think) that's why the

[Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
Hello all, I need to format the values of graphic to KHz.my values are in Hz see at idle python it displays the values as: 3000 3050 3100 3400 , but I need to go where it will be displayed KHz: 3.0 3.1 can someone help me?

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Matthieu Brucher
Hi, You may just divide them by 1000? Matthieu 2010/7/26 Waléria Antunes David waleriantu...@gmail.com: Hello all, I need to format the values of graphic to KHz.my values are in Hz see at idle python it displays the values as: 3000 3050 3100 3400 , but I need to go where it will

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
I know...I tried but I'm using django and also when divided by 1000 the image does not appear... I don't know what to do.help me On Mon, Jul 26, 2010 at 1:27 PM, Matthieu Brucher matthieu.bruc...@gmail.com wrote: Hi, You may just divide them by 1000? Matthieu 2010/7/26 Waléria

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
snippet would help us get you on the right track. -p *From:* Waléria Antunes David [mailto:waleriantu...@gmail.com] *Sent:* Monday, July 26, 2010 9:32 AM *To:* Matthieu Brucher *Cc:* matplotlib-users@lists.sourceforge.net *Subject:* Re: [Matplotlib-users] Hz to KHz I know...I tried but I'm

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Angus McMorland
] Sent: Monday, July 26, 2010 9:32 AM To: Matthieu Brucher Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Hz to KHz I know...I tried but I'm using django and also when divided by 1000 the image does not appear... I don't know what to do.help me On Mon, Jul

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
would help us get you on the right track. -p From: Waléria Antunes David [mailto:waleriantu...@gmail.com] Sent: Monday, July 26, 2010 9:32 AM To: Matthieu Brucher Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Hz to KHz I know...I tried but I'm

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread PHobson
Antunes David [mailto:waleriantu...@gmail.com] Sent: Monday, July 26, 2010 10:01 AM To: Angus McMorland Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Hz to KHz i don't understand.. On Mon, Jul 26, 2010 at 1:57 PM, Angus McMorland amcm...@gmail.commailto:amcm...@gmail.com

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Angus McMorland
: [Matplotlib-users] Hz to KHz I know...I tried but I'm using django and also when divided by 1000 the image does not appear... I don't know what to do.help me On Mon, Jul 26, 2010 at 1:27 PM, Matthieu Brucher matthieu.bruc...@gmail.com wrote: Hi, You may just divide them

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Tim Gray
On Jul 26, 2010 at 02:01 PM -0300, Waléria Antunes David wrote: i don't understand.. Just divide through by '1000.' or '1000.0' (same thing). If you write 3100/1000, you'll get '3' because you are doing integer math. If you write 3100/1000.0, you'll get '3.1' because you are doing float math.

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
*Subject:* Re: [Matplotlib-users] Hz to KHz i don't understand.. On Mon, Jul 26, 2010 at 1:57 PM, Angus McMorland amcm...@gmail.com wrote: On 26 July 2010 12:47, Waléria Antunes David waleriantu...@gmail.com wrote: My code like this in django: http://pastebin.com/nzM5jvuc Are you