Hi, I started numerical computing in MATLAB and it is the math software I 
am the most familiar with hence why I was wondering if it is possible to 
plot two column vectors (that are in the form of two (N+1)x1 arrays) 
against each other. I have tried plot(x,y) but it gave the error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_37.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 
-*-\\n" + 
_support_.preparse_worksheet_cell(base64.b64decode("cGxvdCh4LHkp"),globals())+"\\n");
 
execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmpzcq1Qn/___code___.py", line 2, in <module>
    exec compile(u'plot(x,y)
  File "", line 1, in <module>
    
  File 
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/misc/decorators.py"
, line 705, in wrapper
    return func(*args, **kwds)
  File 
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/misc/decorators.py"
, line 550, in wrapper
    return func(*args, **options)
  File 
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/plot/plot.py", 
line 1295, in plot
    G = _plot(funcs, *args, **kwds)
  File 
"/home/sage/sage-6.6/local/lib/python2.7/site-packages/sage/plot/plot.py", 
line 1407, in _plot
    xmin, xmax, delta = ranges[0]
ValueError: too many values to unpack

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to