Hi Pete / All,

Thank you for the help so far, really appreciate it.

I have managed to plot the graph above using the code you gave me:

###################

z=rand(3,3)
pcolormesh(z)
colorbar()
savefig('colour.png')

###################

However, I am trying to find out what rand() actually does..? Apparently I
shouldn't use it unless a specific C library is required...?

Also what does rand(3,3) actually produce? is it a list, dict, im not really
sure.

if I print rand(3,3) I get this:

[[ 0.66877509  0.58785363  0.32387598]
 [ 0.30220588  0.39593143  0.82576463]
 [ 0.41322716  0.49939853  0.99874519]]

Which looks like a list but without commas, also how would I address a grid
position.. say.. (2,3) and plot a value to that?

Thank you
-- 
View this message in context: 
http://www.nabble.com/Contour-Contourf-Plot-Heatmap---Grid---Multiple-Items-tp18872991p18887443.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to