Dead Thread, some clarification...
- To: mathgroup at smc.vnet.net
- Subject: [mg22198] Dead Thread, some clarification...
- From: "Mark Harder" <harderm at ucs.orst.edu>
- Date: Fri, 18 Feb 2000 02:34:34 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I'm afraid I misspoke yesterday. Both examples were tried with the ExtendGraphics version of ListContourPlot, but in case #1, the argument was a list of {x,y,z} triples, and in case #2, the argument was the corresponding rectangular array of z-values. Also, I now believe the problem has to do with MathLink. Yesterday, I was working with the MultiLinkServer and Mathematica Link for Excel, which, I assume, makes use of MathLink. So I tried the following examples in a fresh Mathematica session running a local Kernel: pts= Table[x y,{x,-1.,1.,.2},{y,-1.,1.,.2}]; Dimensions[pts] lcpts=ListContourPlot[pts,DisplayFunction->Identity]; Show[lcpts,ColorFunction->(RGBColor[1.-#,.06,#]&), MeshRange->{{-1.,1.},{-1.,1.}},DisplayFunction->$DisplayFunction ] , and pts2=Flatten[Table[{x,y,x y},{x,-1.,1.,.2},{y,-1.,1.,.2}],1 ]; lcpts2=ListContourPlot[pts,DisplayFunction->Identity]; Show[lcpts2,ColorFunction->(RGBColor[1.-#,.1,#]&), MeshRange->{{-1.,1.},{-1.,1.}},DisplayFunction->$DisplayFunction ] Dimensions[pts2] Both plots should be colored contour plots. (Requires the ExtendGraphics packages.) Could my problem be a result of the MathLink bug in version 3.0.x ? or is it be a problem with MultiLink (I haven't yet written Episoft about this)? The Contour package apparently runs using MathLink to some independently running packages that Tom wrote, and I wonder if the two usages of MathLink are somehow interfering with each other. I'd still like to contour plot irregularly spaced data with color while linking to Excel. Thanks, mark harder harderm at ucs.orst.edu