Other softwares


Draw 2 dimentional curves

For Windows

This software is not for beginners, but for PC users who are used to program in Fortran

This page is to put in freeware software for scientist which use PC to develop complex software.

The first distributed software is a software to draw 2 dimentional curves after their elements where stocked in files for a detail analysis.

This software is studied for working with the  MinGW software, in freeware. The download contains a mini MinGW with the compiler gcc for and gfortran for Fortran.

All these software are working in a DOS (file cmd.exe) window: where you can create software by use : make which creates one or several files, all that with the use of Makefile files

The distributed software contains traca and traco

Thanks to Jean-Pierrre Desvigne, the creator of traco initialy written for Unix, for his help in the debug phase.

     
View of traca
View of traco with a set of 4 plots, you can have 1, 2, 3, 4 plots.

After the download of this software which name is traca-traco , if you do not change the proposed install directory : C:\MinGW-cgerdy all the environment variables are created for the compilers for C or (and or) for Fortran95 and you don't have to change the line of include of essai.f95.

traca and traco use the maximum of the screen above the taskbar. If you wish a little more space you can modify the taskbar and put it : automatically hide.

For the first use of the software traca-traco do not modify any file to become familiar with those software :

  • Go to the directory C:\MinGW-cgerdy\MyProjects\tracao\Essai click on  the file traca.bat or tracao.bat  and after with the F1 key in the drawing window of traca or traco to obtain the Help. Read it carefully and after, use the commands of the drop-down menus.

If you wish to make any change in any file in the directory Essai, First you make a copy of that directory with another name, go in that copied directory with the DOS cd  command, and if you change (in this copied directory) the file essai.f95 : by the following commands (read carefully the Makefile.txt file which contains the commands for make):

To make new curves you must use lance which make the headers. After you have use lance it ask you the name of the fortran file which contain the curves, in the example it is the file trace.f which must be a file of type *.f

  • clic on the file DOS.bat to open a DOS window which is opened in the correct window, now tape successively :
  • make trace.o : to compile trace.f in trace.o and create the module : trace.mod
  • make essai : to compile essai.f95 with the use of trace.o and trace.mod in essai.exe (the executable file of the demonstration program)
  • lance which ask for a file to create the headers, it ask a file : type : trace.f and after several Return to quit lance.
  • essai : (the exec) for stock in fic the values to be drawn.
  • Clic on traca.bat and traco.bat as previously.

Remember that the make commands are for the directory in which you are in the DOS window, you can read it at any time : it is written just before the flickering cursor.

For Linux

The details for Linux are described with : draw 3 dimentional surfaces. The differences are only in the address and name of the directories. The functionalities are exactly the same.

Draw 3 dimentional surfaces

This software is like the 2 others but for surfaces, one is with OpenGL (for Windows and Linux) and the other with DirectX11 (only for Windows)

  

For the first use of those softwares do not modify any file, to become familiar with those software :

For Windows
  • Go to the directory : C:\MinGW-cgerdy\MyProjects\DirectX\Essai  or C:\MinGW-cgerdy\MyProjects\OpenGL\Essai  click on the file directx.bat or opengl.bat and after with the F1 key in the drawing window to obtain the Help. Read it carefully.
  • After that, it is the same as that of traca and traco except : no use of lance.
  • Because this software is an OpenGL or DirectX11 software you must go to the configuration panel, find the icone of your graphic card and ask : maximum performance

For Linux

  • You must install several shared libraries, read the Makefile in the directory : source_m/Open-GL to identify them.
  • You must update the environment variable Path to find in it the directory source_m/bin.
  • For opengl go to the directory : source_m/Open-GL/Essai  click on the file opengl which is a link to the exec file and after with the F1 key in the drawing window to obtain the Help. Read it carefully.
  • For traca and traco go to the directory source_m/tracao/Essai  clic on traca or traco which are links  and after with the F1 key in the drawing windows to obtain the Help. Read them carefully.
  • Because opengl is an OpenGL software you must go to the sofware which contains the commands of your graphic card.
  • All the exec files are in the directory : source_m/bin
  • The functionalities for the user of those software are exactly the same for those on Windows and those for Linux
  • The directory source_m/Yedit contain the Fortran editor yedit for Fortran77 and zedit for Fortran 90, 95,  2003. The exec files yedit and zedit are in the directory source_m/bin
  • To automatically open the Fortran files *.f with yedit and the files *.f90 and *.f95 with zedit you must make the correct association with a clic on a fortran file and after the question : open with ?, the answer is source_m/bin/yedit or source_m/bin/zedit
  • All the sofware for Linux use the maximum space on the desktop, so you can make the task bar : mask automatically.
  • The dimensions of the windows where develpped for KDE and its window manager : kwim
  • If some software does not work, you must recompile it in a Linux konsole, for example for opengl : go to source_m/Open-GL and clic on konsole.sh and write in it : make opengl. If some libraries are missing you must install them. In Linux it is the first cause of failure. It is exactly the same fot the others. If you destroy some *.o file, the corresponding make command create them but with now some missing include, install the missing include.