hi all,

i'm trying to do something extremely simple, namely print a scatter plot of
two random arrays:

import matplotlib.plt as plt
from numpy.random import *

x = rand(1,10)
scatter(x, x)

this fails with the error:

ValueError: Offsets array must be Nx2

what is happening here? are arrays somehow weird? do they not behave like
lists? any info on this will be greatly appreciated.

thank you.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to