Page 1 of 1


Posted: Wed Feb 27, 2013 1:26 pm
by RobinMosedale
I'm using gFORTRAN to refresh some rusty programming skills and finding it rewarding. However, I would like to be able to produce screen output a little more prettily than the usual line output, say, open a window, postion text, highlight it and so forth, nothing more sphisticated than that.

Can anyone recommend any library, module, or package that can be easilty bolted on, which is simple to use, for both X_Windows Linux environment and the Windows 7/Windows environment?



Re: FORTRAN X-Windows

Posted: Thu Feb 28, 2013 12:09 pm
by stephj
A simple option would be to print your data to a file as an HTML web page wrapped up in the neccessary HTML tags etc. to format it as you want, and then get a browser to display it afterwards.

That way Windows/IE or Linux/Firefox can both display the results.

Re: FORTRAN X-Windows

Posted: Thu Feb 28, 2013 12:42 pm
by PeterO
Google throws up some options for using gtk+-2.0 with fortran..
I've no experience of using them myself.

Re: FORTRAN X-Windows

Posted: Thu Feb 28, 2013 9:54 pm
by TideMan
I use gnuplot with gfortran, but it's a low level language, so you need lots of commands to get a nice plot.
However, there are plenty of web resources and the book:
Gnuplot in Action by Philipp Janert
is very good.

gnuplot is what is used in Octave (a free Matlab clone), I believe.