Re: [sage-support] v3 (3d vector gives an error)

2017-02-06 Thread Henri Girard
I have been induced by the name v3, that's why I /thought it was a vector./ /But after a night, having no answer to my question, I tried to think deeper of what it could be ? / /And just before reading the list I had came to conclusion it could only be a scalar, which I read in the mail a cer

Re: [sage-support] v3 (3d vector gives an error)

2017-02-06 Thread John Cremona
Not every object in Sage has a plot() method. As the error message says, integers do not have a plot() method. Can you think of a sensible way of plotting a single integer? Perhaps there is, but no-one has thought of it yet. On 6 February 2017 at 07:10, Henri Girard wrote: > Yes, I didn't know

Re: [sage-support] v3 (3d vector gives an error) solve

2017-02-05 Thread Henri Girard
I had to declare c ? var("c") ? Why this one and not the others ? Le 06/02/2017 à 08:10, Henri Girard a écrit : Yes, I didn't know exactly the name, but thinking about it I came to the same conclusion, thank. But my concern is why doesn't it display and gives an error ? Le 06/02/2017 à

Re: [sage-support] v3 (3d vector gives an error)

2017-02-05 Thread Henri Girard
Yes, I didn't know exactly the name, but thinking about it I came to the same conclusion, thank. But my concern is why doesn't it display and gives an error ? Le 06/02/2017 à 03:03, Jorge Garcia a écrit : V3 is a scalar = -60... On Feb 5, 2017 5:38 PM, "Henri Girard"

Re: [sage-support] v3 (3d vector gives an error)

2017-02-05 Thread Jorge Garcia
V3 is a scalar = -60... On Feb 5, 2017 5:38 PM, "Henri Girard" wrote: > Thanks > > Le 05/02/2017 à 23:32, John Cremona a écrit : > > V3 is not a vector! > > On 5 Feb 2017 21:42, "Henri Girard" wrote: > >> The third vector is an error, is it a bug ? >> >> v1=vector([3,4,-6]) >> v2=vector([-4,3,1

Re: [sage-support] v3 (3d vector gives an error)

2017-02-05 Thread Henri Girard
Thanks Le 05/02/2017 à 23:32, John Cremona a écrit : V3 is not a vector! On 5 Feb 2017 21:42, "Henri Girard" > wrote: The third vector is an error, is it a bug ? v1=vector([3,4,-6]) v2=vector([-4,3,10]) v3=v1.dot_product(v2) p1=v1.plot(colo

Re: [sage-support] v3 (3d vector gives an error)

2017-02-05 Thread John Cremona
V3 is not a vector! On 5 Feb 2017 21:42, "Henri Girard" wrote: > The third vector is an error, is it a bug ? > > v1=vector([3,4,-6]) > v2=vector([-4,3,10]) > v3=v1.dot_product(v2) > p1=v1.plot(color='red') > p2=v2.plot(color='green') > p3=v3.plot() > > ---

[sage-support] v3 (3d vector gives an error)

2017-02-05 Thread Henri Girard
The third vector is an error, is it a bug ? v1=vector([3,4,-6]) v2=vector([-4,3,10]) v3=v1.dot_product(v2) p1=v1.plot(color='red') p2=v2.plot(color='green') p3=v3.plot() --- AttributeError Traceba