Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Generating programs in fortran to .dat files

  1. May 12, 2015 #1
    I have a small problem to insert a code in fortran to generate me a graph in .dat only need to Fortran insert a command that I may run in the program of .dat
  2. jcsd
  3. May 12, 2015 #2


    Staff: Mentor

    Perhaps you could instead use MATLAB to read the .dat file and generate a graph for you.
  4. May 12, 2015 #3


    User Avatar
    Science Advisor
    Gold Member
    2017 Award

    If the data can be written to a comma separated file (CSV) file, then there are a lot of programs like Excel or R that can read and graph the data. Matlab is expensive and may not be available.
  5. May 12, 2015 #4


    Staff: Mentor

    There are also MATLAB clones like Octave and SciLab as well that are free but maybe not as fast with plotting capability.

    And of course Julia (MATLAB syntax) or Python which together can Interoperate with Fortran and have graphic packages.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook