On 06/01/2010 02:56 AM, Oz Nahum wrote:
hi andre,
thanks for your reply,
do you know where I can find more documentation about this ?
check http://docs.python.org/library/stdtypes.html#string-formatting
Regards,
VS.
Hi Guys,
I'm breaking my head how to use scientific numbering on color bar:
I use the following code to plot data from multiple files, would be great if
someone could direct me, becuase the numbers I have are 0.0013 et. and what
ever I do, the number just go over each other:
for i in
Hi,
I wanted to be more clear:
the numbers on my figure's color bar range from 0 to 1.7,
but mpl writes the following numbers:
0., 0.000250,0.50,0.000750,
etc.
This is totally not somthing I can use, it looks horrible.
I'm also attaching the image ...
--
Oz Nahum
Graduate Student
found a solution after 2 hours ...
colorbar(ax=ax1, orientation='horizontal',format='%.3f')
now, I need to know how to set up limits for all the images which are
exactly the same limits.
So far I'm failing with the use of boundaries
Would be happy to know
--
Oz Nahum
Graduate Student
Oz,
Some plotting functions like pcolor and imshow have keyword args for
vmin/vmax where you can explicitly set the min and maximum values for the
colorscale. There are some more complicated things you can do with the
colormap that are more generic to all plotting functions as well, but I
would
Hi Thanks for the answer,
actually, I always use
show and plot, I have no clue how to use the functions you suggested ...
I'll look into it.
Do you have an idea where I can find a description of the keyword format
'%.3f' is nice, but still not scientific format...
is this like Fortran?
On
Hi Thanks for the answer,
actually, I always use
show and plot, I have no clue how to use the functions you
suggested ...
I'll look into it.
Do you have an idea where I can find a description of the keyword
format
'%.3f' is nice, but still not scientific format...
you can use
'%.3e'
hi andre,
thanks for your reply,
do you know where I can find more documentation about this ?
Thanks,
On Mon, May 31, 2010 at 5:55 PM, Andre Walker-Loud walksl...@gmail.comwrote:
Hi Thanks for the answer,
actually, I always use
show and plot, I have no clue how to use the functions you
Hi Oz,
Sorry, I am not familiar with what you are trying to do with your
plots. Everything I have learned is from trial and error, the gallery
page
http://matplotlib.sourceforge.net/gallery.html
and the user manual
http://matplotlib.sourceforge.net/contents.html
Good luck,
Andre
On Mon, May 31, 2010 at 7:51 PM, Oz Nahum nahu...@gmail.com wrote:
Hi Thanks for the answer,
actually, I always use
show and plot, I have no clue how to use the functions you suggested ...
I'll look into it.
Do you have an idea where I can find a description of the keyword format
'%.3f'
10 matches
Mail list logo