Fortran Generating programs in fortran to .dat files

AI Thread Summary
To generate a graph from data in Fortran, users can consider writing the data to a .dat file and then utilizing other software for visualization. MATLAB is a common choice for this task, but it can be costly and may not be accessible to everyone. Alternatives include using free software like Octave and SciLab, which offer similar functionalities but may have slower plotting capabilities. Additionally, exporting data to a CSV file allows for easy integration with programs like Excel or R for graphing. For those looking for more programming flexibility, Julia and Python can interoperate with Fortran and provide robust graphic packages for data visualization.
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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
8
Views
1K
Replies
25
Views
3K
Replies
3
Views
2K
Replies
2
Views
1K
Replies
3
Views
3K
Replies
8
Views
2K
Replies
17
Views
6K
Replies
2
Views
1K
Back
Top