Monday, May 24, 2010

MSVC++ & GNUPlot?

I've a problem.





Does MSVC++ (Microsoft Visual C++) have a bulit-in program of GNUPlot (http://www.gnuplot.info/) ??





I'm trying to make a C program that produces a graph of a projectile motion. And I require a GNUPlot.





As far as I know GNUPlot is another different seperated-portable command-line driven interactive data and function plotting utility.





So:





1) Does MSVC++ have a bulit-in program of GNUPlot?





2) How to integrate GNUPlot with MSVC++?





3) To make a graph of projectile motion, isn't it necessary for me to write codes in MSVC++ and at the same time working with GNUPlot in another window?





4) How does this entire thing work in both different working-environment (MSVC++ and GNUPlot) ?





Please help. Thanks.

MSVC++ %26amp; GNUPlot?
By the numbers:


1) Not that I've ever heard about, sorry.





2) Since GNUPlot is an application and MSVC++ is an


integrated IDE/C++ compiler package, you wouldn't.


It's more likely that you'd re-compile the GNUPlot


source code, since it is Open Source and integrate


some MSVC++ features into the application's interface.





3) No, since you can legally and easily get the code for


GNUPlot, what you do is use the code as a starting point


for your application made under MSVC++ and add in Windows


GUI features or compile it as a console application.





4) It doesn't. MSVC++ isn't an "environment" in the sense


that you are speaking of. It is an Integrated


Development Environment (IDE). It is a nice editor,


with the compiler and libraries to compile code to


a stand alone executable that runs unde Windows.


You will actually create this program yourself. You


may need to change some to quite a lot of the original


GNUPlot code to get it to run right under Windows.





Below is a link to the GNUPlot source and some other information you may find useful. I hope this helps.


No comments:

Post a Comment