Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 35 by
Maximili...@gmail.com: problem with plot3
https://code.google.com/p/scitools/issues/detail?id=35
What steps will reproduce the problem?
from scitools.std import *
t=linspace(0,10*pi,100)
x=sin(t)
y=cos(t)
z=t
plot3(x,y,z)
or
t = linspace(0,10*pi,301)
plot3(sin(t), cos(t), t, title='A helix', grid='on')
What is the expected output? What do you see instead?
expected a plot, got:
Tracheback (most recent call last):
File"<stdin>", line1 in module>
file "/usr/lib/python2.7/site-packages/scitools/easyviz/common.py", line
3307, in plot3 format=' '))
file "/usr/lib/python2.7/site-packages/scitools/easyviz/common.py", line
380, in __init__ self.setp(**kwargs)
file "/usr/lib/python2.7/site-packages/scitools/easyviz/common.py", line
409, in stp "y is %s" % type(kwargs['y']))
TypeError: Can only plot sequence types, y is <type 'numpy.ndarray'>
What version of the product are you using? On what operating system?
installed scitools from hg clone
https://hpl%
40sim...@code.google.com/p/scitools/
last week, so it should be up-to-date.
Using Linux
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings