Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have a C# application that has 3-dimensional data that I wish to plot. Controls in C# for surface modeling are, in my experience, rather limited. I wish to have my C# application send the 3D point mesh data to Mathematica Plot3D and display the result in a winform or some other front end (notebook?).

Essentially, my goal is to use Mathematica as a generalized data visualization tool from my C# applications.

So far, I have been able to generate a picture file from Mathematica that I put in a MathPictureBox control which resides on a winform. However, I would like the interactivity you get when using Plot3D from a notebook. Is this possible?

share|improve this question
2  
This appears to be a duplicate of "Is it possible to embed the Mathematica editor?" –  Jens Jun 27 '12 at 20:45
    
@Jens I'm not sure I agree. I presume the interactivity that is asked for in this question is limited to the scaling and rotation of Graphics3D objects rather than a fully working Notebook interface. I think it is a distinct question although it may have a common answer. –  Mr.Wizard Jun 28 '12 at 7:32
    
You can embed the Plot as a CDF using a WebView component as Jens pointed out or use .NET/Link to pass the viewing angle to Mathematica and get back the resulting image (I would imagine the second option to be slower, i.e. less interactive, and more complex, but I'm just guessing). –  Ajasja Jun 28 '12 at 8:40
    
I was only looking at having interactivity in the form of rotation and scaling as Mr.Wizard rightly pointed out. However, Jens' link looks promising. Ajasja's latter option would be much less dynamic but could serve as a fallback approach. Thank you all. –  JohnC Jun 28 '12 at 15:54
    
@Jens I tried your instructions in the linked page and could not read data into the html-embedded CDF, getting an error about Get not allow in sandboxed mode. Any ideas? –  JohnC Jun 28 '12 at 23:56
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.