Generating programs in fortran to .dat files

Click For Summary

Discussion Overview

The discussion revolves around generating .dat files using Fortran for graphing purposes. Participants explore various methods and tools for visualizing data, including alternatives to Fortran for graph generation.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant seeks assistance with inserting a command in Fortran to generate a .dat file suitable for graphing.
  • Another participant suggests using MATLAB to read the .dat file and create a graph, indicating that MATLAB may not be accessible to everyone due to cost.
  • A further reply expands on the idea of using MATLAB by proposing that if the data can be formatted as a CSV file, other programs like Excel or R could also be utilized for graphing.
  • Additional alternatives are mentioned, including free MATLAB clones like Octave and SciLab, as well as programming languages like Julia and Python, which can work with Fortran and have graphic capabilities.

Areas of Agreement / Disagreement

Participants present multiple competing views on the best approach to graphing data generated by Fortran, with no consensus on a single solution.

Contextual Notes

Participants do not clarify specific limitations or assumptions regarding the data format or the requirements for graphing.

Who May Find This Useful

Individuals interested in data visualization, programming in Fortran, or exploring alternatives for graph generation may find this discussion relevant.

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
 
Technology news on Phys.org
Perhaps you could instead use MATLAB to read the .dat file and generate a graph for you.
 
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.
 

Similar threads

Replies
64
Views
11K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K