Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

3d plot ignoring imaginary part

Is there any possibility to have a 3d plot done in a way that if the expression to be plotted returns a complex number, this is not plotted. In particular I'm referring to this feature in Matlab: when you try to plot in 3d an expression which in his domain has both real and complex values, it returns the plot only when the values are real. In addition Matlab prints a Warning: "Imaginary parts of complex X, Y, and/or Z arguments ignored".

Thanks! (tell me if it's not clear, I'll explain better...)