Visual C# .NET to call GNUPLOT

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p align=left><font face=Arial size=2>I know like Visual C#.NET to call GNUPLOT and able to input in arguments in C# itself.</font>
<p align=left>Is it possible?
<p align=left>that it, I do not want DOS command prompt of GNUPLOT to be displayed, but hide behind.
<p align=left>I also want to be able to input in the arguments for the GNUPLOT inside C# itself, instead of
<p align=left>from the DOS command prompt of GNUPLOT. e.g the argument of "plot sin(x)"
<p align=left>  <font size=2>
</font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>void</font><font size=2> button2_Click(</font><font color="#0000ff" size=2>object</font><font size=2> sender, </font><font color="#2b91af" size=2>EventArgs</font><font size=2> e)
{
</font><font color="#2b91af" size=2>Process</font><font size=2> proc = </font><font color="#0000ff" size=2>new</font><font size=2> </font><font color="#2b91af" size=2>Process</font><font size=2>();
proc.StartInfo.FileName = </font><font color="#a31515" size=2>"D:\Program Files\Octave\bin\pgnuplot.exe"</font><font size=2>;
proc.Start();
} </font>
<p align=left> 
<p align=left>thanks.
<p align=left>Sincerely,
<p align=left>Thiam Huat

View the full article
 
Back
Top