Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

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



  • Prev by Date: Re: Integrate with If
  • Next by Date: Re: How to call by reference for particular argument(s)?
  • Previous by thread: Re: Re: export graphics
  • Next by thread: Re: volatility and greek values for financial options