Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18970 > unrolled thread
| Started by | simona bellavista <afylot@gmail.com> |
|---|---|
| First post | 2012-01-14 07:27 -0800 |
| Last post | 2012-01-18 20:21 -0700 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.lang.python
scientific notation in legend (pylab) simona bellavista <afylot@gmail.com> - 2012-01-14 07:27 -0800
Re: scientific notation in legend (pylab) Jason Friedman <jason@powerpull.net> - 2012-01-15 03:27 +0000
Re: scientific notation in legend (pylab) simona bellavista <afylot@gmail.com> - 2012-01-18 11:58 -0800
Re: scientific notation in legend (pylab) Jason Friedman <jason@powerpull.net> - 2012-01-18 20:21 -0700
| From | simona bellavista <afylot@gmail.com> |
|---|---|
| Date | 2012-01-14 07:27 -0800 |
| Subject | scientific notation in legend (pylab) |
| Message-ID | <b7e4a434-e6dd-4f1c-bfc9-164ad0fe74c0@i26g2000vbt.googlegroups.com> |
Hi, I I would like to have numbers expressed in scientific notation in legend annotations. Does anybody know how to do that? Cheers, S.
[toc] | [next] | [standalone]
| From | Jason Friedman <jason@powerpull.net> |
|---|---|
| Date | 2012-01-15 03:27 +0000 |
| Message-ID | <mailman.4759.1326598036.27778.python-list@python.org> |
| In reply to | #18970 |
> I I would like to have numbers expressed in scientific notation in
> legend annotations. Does anybody know how to do that?
>
Not sure why legend annotations makes the problem different, but
perhaps this is a start:
$ python3
Python 3.2 (r32:88445, Jun 11 2011, 10:38:04)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print("{:e}".format(1000))
1.000000e+03
http://docs.python.org/library/string.html
[toc] | [prev] | [next] | [standalone]
| From | simona bellavista <afylot@gmail.com> |
|---|---|
| Date | 2012-01-18 11:58 -0800 |
| Message-ID | <36fed49d-b37d-48ae-a46c-182cee760e90@l1g2000vbc.googlegroups.com> |
| In reply to | #18991 |
thank you, I am trying to learn python, but I am having a hard to find a good introduction to it. On Jan 15, 3:27 am, Jason Friedman <ja...@powerpull.net> wrote: > > Not sure why legend annotations makes the problem different, but > perhaps this is a start:
[toc] | [prev] | [next] | [standalone]
| From | Jason Friedman <jason@powerpull.net> |
|---|---|
| Date | 2012-01-18 20:21 -0700 |
| Message-ID | <mailman.4850.1326943314.27778.python-list@python.org> |
| In reply to | #19101 |
> thank you, I am trying to learn python, but I am having a hard to find > a good introduction to it. Try this: http://docs.python.org/py3k/tutorial/
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web