Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #863

Hide console in windows

From Rajil Saraswat <rajil.s@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Hide console in windows
Date 2012-01-23 05:59 -0800
Organization http://groups.google.com
Message-ID <21862c36-bea7-4cff-8455-e4a633902ba4@hs8g2000vbb.googlegroups.com> (permalink)

Show all headers | View raw


Hi all,

I have a written a C++ program  which calls gnuplot to write out a jpg
of some data. I build a script file with appropriate gnuplot commands
and then use the system command to write out the plot, like this

                      system("C:\gnuplot\bin\gnuplot.exe c:\data
\gplotcmds.txt);

However this means that a dos/console window pops up everytime gnuplot
is called. Is there any way to hide the console window or use some
other means to call gnuplot. I am not interested in showing any
graphical plot on screen just want the image to be written to disk..

Cheers
Rajil

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Hide console in windows Rajil Saraswat <rajil.s@gmail.com> - 2012-01-23 05:59 -0800
  Re: Hide console in windows Petr Mikulik <mikulik@physics.muni.cz> - 2012-01-25 10:31 +0000

csiph-web