Changes between Version 4 and Version 5 of Ticket #11225
 Timestamp:
 11/03/11 15:52:38 (10 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #11225 – Description
v4 v5 8 8 sage: f = Piecewise([[(0,1),x^3], [(1,2),x^2]], x) 9 9 sage: plot([f,x^3],(x,0,2)) 10 }}} 11 A very similar example was at [http://ask.sagemath.org/question/868/twopiecewisedefinedfunctionsinoneplot this ask.sagemath.org post]: 12 {{{ 13 sage: f = Piecewise([[(2,1),1],[(1,4),x]]) 14 sage: g = Piecewise([[(2,1),1],[(1,4),2*x]]) 15 sage: plot([f,g]) 16 AttributeError: PiecewisePolynomial instance has no attribute '__float__' 10 17 }}} 11 18 * plotting a product of a piecewise with a symbolic (well, the problem is multiplying the two, but still worth putting here  see [http://groups.google.com/group/sagesupport/browse_thread/thread/7357d08529de32dd this sagesupport thread])