Mail Archives: djgpp/1997/02/10/02:16:19
greetings,
i remember seeing a post inquiring about gnuplot. i have a
gnuplot compiled under djgpp 1.12 whose url i have unfortunately
forgotten. i quote the 00readme below for those interested. there is a
need for a version compiled with 2.01 and a more recent grx library. if
this has not been done, or is not being currently done, i would be happy
to undertake this.
-------------------00readme distributed with gnuplot3.6 (?)-------------
From :
Emmanuel BIGLER
courrier electronique bigler AT grenet DOT fr e-mail
telephone E.B. +33 81 66 69 54 E.B. phone
secretariat LPMO +33 81 66 69 99 LPMO secretary
telecopie +33 81 66 69 98 fax
Laboratoire de Physique et Metrologie des Oscillateurs
LPMO/CNRS, 32, avenue de l'observatoire
25044 Besancon Cedex, FRANCE
-----------------------------------------------
Date 1996 JAN 26
This is gnuplot 3.6 beta version 261
binaries for DOS compiled with djgpp 1.12 m4.
PLEASE CONSIDER IT AS AN EXPERIMENTAL VERSION USED TO DEBUG
A GNUPLOT DOS/DJGPP VERSION. (see caveats below)
-----------------------------------------------
This version drives correctly vga screens ; for better resolution you
should use other graphics files shipped with djgpp. Hoxever there is
still something unclear in the loading of fonts. This does not affect
postscript or other terminal types.
I used a version of djsvga.trm by Edzer Pebesma
<edzer DOT pebesma AT rivm DOT nl> shipped with gp224dpm.zip.
The version of djsvga.trm shipped in the 261 tar archive does not
work.
I tried to make this zip archive self usable i.e I included some
utilities and test files to check that everything works.
Contents and comments :
00readme. this file
gn36.bat a .bat file to run the djgpp version
install.bat an install file to install the zip
archive from a disquette, do
a:install a: c:
to put gnuplot in c:\gplt36, and prepare several djgpp-related
things.
PLEASE NOTE THAT THE INSTALL.BAT FILE EXPECTS THE ZIP
FILE TO BE NAMED 'GPLT36.ZIP'.
gnuplot.gih gnuplot help file shipped with 261
gnuplot.ini an example of gnuplot dos init file
go32.exe go32 extender
gp36.exe gnuplot djgpp 1.12 executable
makefile. A djgpp makefile that works. I only removed a
reference to an ATARI file, not found and not useful
for me.
djsvga.trm A correct file for driving a vga/svga screen, thanks to
Edzer Pebesma <edzer DOT pebesma AT rivm DOT nl>
Below some graphics files, additional fonts, etc that are part of the
djgpp distribution. Might be useful with gnuplot/djgpp ; they come in
the djgpp "grx" library
pc8x14.fnt standard font file, may be required
pc8x16.fnt idem
helv15.fnt optional fonts
helv15b.fnt optional fonts
stdvga.grn => required !
readme.grx info about djgpp graphics library
An now gnuplot scripts to test :
test.dem the simplest test file : runs 'test' to see if your
screen works... If not, sorry but your PC config may be wrong and is not
recognized by this djgpp version...
Below a set of test files for gnuplot, taken from the standard
gnuplot demo directory. They illustrate
-1- the 'fit' enhancement,
-3- the 'mgr.dem' demo
-3- some surface plots. I like to test with surface plots because
they need *a lot* of memory, and you'll see how nicely this djgpp
version can correctly handle them, by paging to disk when necessary.
If your gnuplot version passes these tests, you'll probably be OK.
fit.dem fit 'master' script file
singulr.dem surf. plot script files
misc. files required by the above demos :
reflect.fnc
silver.dat
sound.par
sound2.par
soundvel.dat
start.par
battery.dat
big_peak.dat
density.fnc
hexa.fnc
klein.dat
lcdemo.dat
line.fnc
moli3.dat
-------------------------------
Now some home made enhancements, independant from the gnuplot code
sd.gpt a gnuplot script to implement th
"save diff" approach to reduce the size of saved gnuplot script files
and improve their legibility
How to use it : do
gnuplot> call 'sd.gpt' "myfile.gpt"
will save in "myfile.gpt" only the differences between your actual
config in memory, and the reference config stored in 'reset.gpt' You
can customize by hand what is the reference config file. I created
reset.gpt simply by running gnuplot, and then doing nothing but :
gnuplot> save "reset.gpt"
Note that the gnupot.ini commands are taken into account in my reset
file, they are simply : set encoding cp437, because under dos I like
to put international characters on my graphs.
reset.gpt is the reference config file for sd.gpt
unzip.exe in case you would need one
diff.exe GNU version if you want to test the save diff approach
------------------------------------------------
If you want to recompile :
You'll need djgpp, (I used the 1.12 m4 release, I know there is a 2.0
improved version in betatest) the correct version of term/djsvga.trm
and the makefile; i simply copied it from makefile.djg in the
standard distribution and removed an unresolved reference to an ATARI
file.
-----------------------------------------------
CAVEATS
the executable shipped here do not handle floating point exception
correctly. This is not due to gnuplot but to djgpp. Some demo files
in the standard distribution will hang gnuplot, not because the
computation time is long, but because an exception occured. To exit
simply do a control-c or a control-break on your pc to stop.
SOMETIMES THE GRX FONTS ARE NOT LOADED CORRECTLY. I have no clue,
and I simply hope that this will be fixed by the community of users
testing this version.
EXCEPT FOR SOME INSTABILITY IN LOADING GRX FONTS ON SOME MACHINES, I
THINK THIS 261 DOS BETA IT IS VERY USABLE NOW, WE USE IT ROUTINELY AT
THE LAB.
CARE HAS BEEN TAKEN TO ENSURE THAT NO VIRUS IS SHIPPED WITH THESE
EXECUTABLES. HOWEVER WE DO NOT TAKE ANY RESPONSABILITY IN THIS
RESPECT AND WE KINDLY ASK PEOPLE TO RE CHECK WITH THEIR FAVOURITE
ANTI VIRUS SOFTWARE. IT IS ALWAYS BETTER TO RECOMPILE FROM SOURCE
CODE.
----------END OF FILE--------
- Raw text -