Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

GNUPLOT called from FORTRAN

Robert
Beginner
617 Views

I want to try passing data to GNUPLOT from Fortran.  The brute force method is to have my Fortran program write text files, exit the Fortran program, start GNUPLOT and read in the text files.  Is there a way to start the GNUPLOT program directly from the Fortran program as a separate process in a new window? Can someone describe how this is done or point me to an example of this?  Thank you.

0 Kudos
1 Reply
andrew_4619
Honored Contributor II
617 Views

To simply run GNUPLOT from your Fortran program you can use EXCUTE_COMMAND_LINE which is standard Fortran https://software.intel.com/en-us/node/692784 I have no idea about data transfer to it as I know nothing about GNUPLOT 

 

 

0 Kudos
Reply