Generating programs in fortran to .dat files

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Monserrat
Messages
1
Reaction score
0
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
 
Physics news on Phys.org
jedishrfu said:
Perhaps you could instead use MATLAB to read the .dat file and generate a graph for you.
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.
 
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.