|
From: Andrea G. <and...@gm...> - 2008-12-10 11:03:40
|
Hi Mauro & All, On Wed, Dec 10, 2008 at 10:32 AM, Mauro Cavalcanti wrote: > Dear Andrea, > > Greetings. I have tried your script here. > > 2008/12/10 Andrea Gavana <and...@gm...>: >> I attach my small sample to the message. Am I doing something worng in >> my call to contour? Why I am unable to see the 20 contour I specified >> in my vector V? > > But you can. Simply change the line below to: >> CS = plt.contourf(X, Y, Z, V=V) > >> CS = plt.contourf(X, Y, Z, V) > (I did not understand the reason behind the "V=V" in the argument list?) Ah! I thought "V" was a keyword argument. Shame on me. Thank you for the hint. >> Another related problem is with contourf: if I modify the attached >> sample to use contourf and clabel, I get this error: > > Well, this one I do not understand myself. Uhm, I will wait for further suggestions. Maybe I am doing something stupid, again ;-) Thank you! Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.alice.it/infinity77/ |