I i have tree lists of values
list x of 100... values
list y of 100.. values
list mag of 100.. values
list x and y are coordiantes of points 
and list Mag is magnitude of something at that point

how can i plot this quantities using pcolor

from __future__ import division
from matplotlib.patches import Patch
from pylab import *

def func3(x,y):
    return (1- x/2 + x**5 + y**3)*exp(-x**2-y**2)


# make these smaller to increase the resolution
dx, dy = 0.5, 0.5

X = arange(-3.0, 3.0001, dx)

Y = arange(-3.0, 3.0001, dy)

Mag= X**2+Y**2

pcolor(X, Y, Mag, shading='flat')
colorbar()
axis([-3,3,-3,3])
savefig('pcolor_demo')
show()




      
____________________________________________________________________________________
¡Sé un mejor besador!
Comparte todo lo que sabes sobre besos.                      
http://telemundo.yahoo.com/promos/mejorbesador.html
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to