help with contourplot 3d
- To: mathgroup at smc.vnet.net
- Subject: [mg43466] help with contourplot 3d
- From: Michael Alfaro <malfaro at ucsd.edu>
- Date: Wed, 17 Sep 2003 08:00:12 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi, I am trying to plot a contour that is a function of 3 variables, x, y, and z. I am plotting the function over a biologically interesting range of values using ContourPlot3d. The problem is that the function does not give real values over some parts of the space near an edge. When I try to plot, mathematica shows these lines in blue CompiledFunction::"cfn": "Numerical error encountered at instruction \ \!\(52\); proceeding with uncompiled evaluation." General::"stop": "Further output of \!\(CompiledFunction :: \"cfn\"\) will be \ suppressed during this calculation." and ContourPlot3D::"gval": "Function value \!\(\(\(-0.6727485829490804`\)\) - \ \(\(0.22711205859697875`\\ \[ImaginaryI]\)\)\) at grid point x = \!\(0.19`\), \ y = \!\(0.29`\), z = \!\(0.28`\) is not a real number." The plot that mathematica produces looks good except for one edge which is jagged! As I tell mathematica to plot more points, the size of the jags diminishes. However I am reaching the practical limit of plot points (25) in terms of time and screen resolution and that edge is still not smooth like I expect that it really is (after plotting points from a numerical simulation). I would like to get a smooth plot somehow for this function. Is there anything else I can try? I am new to mathematica. Is there anyway to say, in the function for example, that only real numbers are valid? Or will any of the ContourPlot3D options like min/max recursion or singularity help? Thanks for any assistance! Michael