Changes between Version 1 and Version 2 of Ticket #13355, comment 9
 Timestamp:
 07/09/13 07:03:28 (6 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #13355, comment 9
v1 v2 1 1 Hello, 2 2 3 I don't understand your example. You did not even defined `f`, how do you want to plot it? It has nothing to do with complex values 3 I don't understand your example. You define `f` to take complex values, how do you want to plot it as a real function? Could you be more explicit about the problem you intend to solve ? What kind of picture you would like to obtain with such input? 4 5 Note that for that purpose, there is yet `complex_plot` 6 {{{ 4 7 {{{ 5 8 sage: def evalf_func(self,x,parent=None): … … 7 10 ....: 8 11 sage: f = function('f', evalf_func=evalf_func) 9 sage: float(f(3)) 10 Traceback (most recent call last) 11 ... 12 TypeError: unable to simplify to float approximation 12 sage: complex_plot(f, (1,1), (1,1)).show() 13 13 }}} 14 15 Could you be more explicit about the problem you intend to solve ?