Hello, Nathalie and everyone!
I just wonder if it is possible to plot some graphs with pascal? If the answer is yes, how it works?
You can use the GRX graphics library from GNU Pascal. I just uploaded a new GRX snapshot - see:
http://www.gnu.de/software/GRX/
The included units `pascal/grx20.pas' and `pascal/bgi/bgi2grx.pas' (the latter one being a clone of Borland's "Graph") will need some tweaking to work with current versions of GPC. Be welcome to ask on this list if you have problems with them. I hope that we will have the possibility to include up-to-date versions of these units in the GPC distribution in the future.-
And if not, how can I use my output files to easily generate graphs?
If your graphs are graphs of mathematical functions, I recommend to output a table of values like this
0.0 0.00 0.1 0.01 0.2 0.04 0.3 0.09 0.4 0.16 0.5 0.25 ... ...
with a command like:
WriteLn (x : 7 : 1, f (x) : 11 : 2)
This simple format is understood by many plotting programs such as Gnuplot. (Although the name "Gnuplot" is not coming from the GNU project, it is listed under http://www.gnu.org/software/.:-)
Hope this helps,
Peter