Plot command in Fortran
Plot command in Fortran
(OP)
Hello everybody;
Is there a plot command in fortran? I need to plot graphs directly from output files.
Is there a plot command in fortran? I need to plot graphs directly from output files.
RE: Plot command in Fortran
TTFN

FAQ731-376: Eng-Tips.com Forum Policies
Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers
RE: Plot command in Fortran
RE: Plot command in Fortran
RE: Plot command in Fortran
_____________________________________
I have been called "A storehouse of worthless information" many times.
RE: Plot command in Fortran
You can then very, very easily copy/paste that data into Excel, split the data into individual cells and graph it. I do this type of thing a LOT! In general, to write code in fortran to do the graphics automatically takes a lot of time and effort. This effort is worth it for something you plan on using over and over again or that you wish to sell. But for one-off work, it usually represents a lot of time that you won't ever get back.
I think that most commercial fortran compilers come with additional abilities to do some graphics and such (these abilities are not part of the language standard though). You can also buy packages that work with your fortran to make graphics and such a lot easier. However, any way you slice it... even with nice graphics packages, writing the code to do the graphics neatly and correctly is often just as hard or harder than the code that did your engineering calculations for you and is thus... not worth the effort.
Dan
RE: Plot command in Fortran
"...DISLIN is a high-level and easy to use plotting library for displaying data as curves, bar graphs, pie charts, 3D-colour plots, surfaces, contours, and maps. The library contains about 500 plotting and parameter setting routines. The approach used is to have only a few graphics routines with short parameter lists. A large variety of parameter setting routines can then be used to create customized graphics. Several output formats are supported such as X11, VGA, PostScript, PDF, SVG, CGM, HPGL, TIFF, GIF, PNG and BMP. DISLIN is available for the programming languages C, Fortran 77, Fortran 90, Perl, Python and Java..."
You don't need a DISLIN license for a non-commercial use of DISLIN, otherwise a licence is available for low price.
RE: Plot command in Fortran