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?
···
On Thu, Jul 15, 2010 at 10:48 AM, <matplotlib-users-request@…1544…ceforge.net> wrote:
Send Matplotlib-users mailing list submissions to
matplotlib-users@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
[https://lists.sourceforge.net/lists/listinfo/matplotlib-users](https://lists.sourceforge.net/lists/listinfo/matplotlib-users)
or, via email, send a message with subject or body ‘help’ to
matplotlib-users-request@lists.sourceforge.net
You can reach the person managing the list at
matplotlib-users-owner@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than “Re: Contents of Matplotlib-users digest…”
Today’s Topics:
- scientific notation (Wal?ria Antunes David)
Message: 1
Date: Thu, 15 Jul 2010 10:41:52 -0300
From: Wal?ria Antunes David <waleriantunes@…287…>
Subject: [Matplotlib-users] scientific notation
To: matplotlib-users@lists.sourceforge.net
Message-ID:
<AANLkTimGOkWXNsavXWyM9YcVKvhmfpBKy4Fxv10_yQXG@...288...>
Content-Type: text/plain; charset=“iso-8859-1”
Hi all,
I have a code base so that:
from pylab import *
x = arange (3000,3400)
y = -108 * (3.0e14 ** 2)/x**2
pylab…title(“Teste”)
pylab.savefig(“imagem.png”)
plot(x, y)
Well… the values of the function range(3000,3400) are in Hz…i need
to pass GHz which would be in scientific notation as follows bellow:
3000 Hz = 3,0 ? 10-6 GHz
3400 Hz = 3,4 x 10-6 Ghz
How do I make the graph x-axis is shown in figures
scientific notation, for this currently so
3000,3050,3100,…,3400
in scientific notation is: (3.0e-6, 3.4e-6)
Can someone help me?
See my attachment…
I need to show this values in scientific notation…
Wal?ria
-------------- next part --------------
An HTML attachment was scrubbed…
-------------- next part --------------
A non-text attachment was scrubbed…
Name: current_image.jpg
Type: image/jpeg
Size: 35656 bytes
Desc: not available
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first – http://p.sf.net/sfu/sprint-com-first
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
End of Matplotlib-users Digest, Vol 50, Issue 37