I agree... but what about magnitude and argument of the complex number? I find this representation often more useful than real and imaginary, so I think it's just a matter of the application.
+1 from me Maurizio On 21 Mar, 22:28, Henryk Trappmann <bo198...@googlemail.com> wrote: > As I see there are no specific plot commands for complex functions. > There are 3 types that would be preferable: > 1. parametric plot > 2. contour plot > 3. conformal plot > > The parametric plot can be simulated with parametric_plot and the > contour plot with contour_plot. > However for these functions one have to specify the input as a pair of > functions. > When you have a complex function f, the input would be: > (lambda z: real(f(z)), lambda z: imag(f(z))) > > The problem with this simulation is that f has to be computed twice to > obtain the real and the imaginary part. > If you have a very computation intensive function f this is deadly. > So it would be great if the parametric_plot and contour_plot had an > option for complex functions that would avoid these double > computations. > More generally parametric_plot and countour_plot could take a > functions that returns a pair of values in addition to taking a pair > of functions. > > Is this problem already recognized? I also would be willing to > implement such a functionality if not. Any comments? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---