Hi François,
Why would it be a waste to multiply the values in an array by the scaling
factors?
Can you provide an example of your code so everybody can get a better idea
of what you're doing now?
Thanks,
Alexa
On Fri, Feb 17, 2012 at 9:07 AM, Francois Lemery
francois.lem...@gmail.comwrote:
Hi Everybody,
I'm trying to label the contours of my contour plot following this example
-
http://matplotlib.sourceforge.net/examples/pylab_examples/contour_label_demo.html
My actual code looks like this -
import matplotlib
matplotlib.use('PDF')
from pylab import *
import numpy as np
#
...@hawaii.edu wrote:
On 02/15/2012 10:15 AM, Alexa Villaume wrote:
Hi Everybody,
I'm trying to label the contours of my contour plot following this
example -
http://matplotlib.sourceforge.net/examples/pylab_examples/contour_label_demo.html
My actual code looks like
Try using 'xticks' and 'yticks', those commands let you define the location
and label fo your tick marks.
Example -
xticks( arange(5), ('0', '100', '200', '300', '400') )
Where the argument in arange is the number of tick labels you're making
On Wed, Feb 15, 2012 at 10:56 AM,
:
Thanks Alexa and Jerzy.
other questions? ... Here they are:
- changing to an image grey scale only needs ... what?
- I need to do a 'plane fit' of the image. Does matplotlib
have some routine for this? Or shall I use other math libs?
Thanks again.
Le 16/02/2012 02:20, Alexa Villaume
Hi Fadhah,
This is the tutorial I used to install matplotlib on my computer and it was
really easy to understand and follow the steps -
http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/
If that doesn't help with your problems describe what they
، الساعة 5:04 AM، كتب Alexa Villaume alexa7...@gmail.com:
Hi Fadhah,
This is the tutorial I used to install matplotlib on my computer and it
was really easy to understand and follow the steps -
http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion
postscript files?
On Sat, Feb 11, 2012 at 10:48 AM, Eric Firing efir...@hawaii.edu wrote:
On 02/11/2012 10:30 AM, Alexa Villaume wrote:
Thanks for replying Eric.
(You're welcome. But please keep replies on the list when they are
potentially useful to others, as yours is.)
Here is my
Hi All,
I'm just getting started with matplotlib. I'm trying to make a contour plot
using contourf and have the different paths colored and semi transparent
but the alpha keyword doesn't seem to do anything. I googled around and
found that other people have had this same problem but I didn't find
Hi there,
I have a 2d array that I'd like to contour. The plot isn't turning out right
and I think it's because the array isn't be read in correctly.
It's a 25x41 array that is in a text file. I have tried using genfromtxt and
the asciitable module to read the data in and neither gives the
Hello,
I'm trying to make a contour plot and I'm running into problems when
specifying the coordinates for the plot. I do,
#Specify coordinates of the surface
delta0=1.0
delta1=0.1
x=np.arange(0.0, 6.0, delta0)
y=np.arange(-1.0,3.0, delta1)
#Contour the arrays.
plt.contour(x, y, O3, O3Level)
11 matches
Mail list logo