Re: [fpc-pascal] Graphing library

2020-11-15 Thread Bernd Oppolzer via fpc-pascal

Hi,

I don't know if this can help you, but in the 1980s I worked with a 
library called GKS (graphic kernel system)

which I used to build such graphics like the following example:
http://bernd-oppolzer.de/fdynsb.pdf

This programs that did this were written in Pascal at that time.

It still works today for me (the customer still uses this software),
although is it C today, and GKS is not available any more.
What I did: the original GKS calls are written to files (some sort of 
GKS metafile, but not the
original 1980s format), and then this file format is read by a C program 
GOUTHPGL,
which translates this (proprietary) format to HPGL. The HPGL files are 
either sent to
HP plotters or translated to PDF using public domain software; see the 
file above.

(GOUTHGPL was a Pascal program in the 1990s, too).

IMO, you could easily write the "GKS metafile format" with Pascal;
in fact, it is simply is a sort of logfile of the GKS calls.

Here is an old paper about the GKS system: 
http://nsucgcourse.github.io/lectures/Lecture01/Materials/Graphical%20Kernel%20System.pdf


The translator GOUTHGPL supports only a small subset of GKS; see again 
the example picture above.


If you are interested for more details, you could contact me offline.

Kind regards

Bernd


Am 15.11.2020 um 09:33 schrieb Darius Blaszyk via fpc-pascal:

Hi,

I am looking for a simple to use non-visual graphing library to 
produce x-y plots in a  raster file format (similar to how pyplot 
works). Rather than developing something from scratch or writing a 
wrapper to GNU plot (additional dependency), I was hoping something 
like this already would exist that I could build upon.


Thank you for any tips!

Rgds, Darius

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Graphing library

2020-11-15 Thread leledumbo via fpc-pascal
> I am looking for a simple to use non-visual graphing library to produce x-y
plots in a  raster file format (similar to how pyplot works). Rather than
developing something from scratch or writing a wrapper to GNU plot
(additional dependency), I was hoping something like this already would
exist that I could build upon.

TAChart works with NoGUI LCL interface:
https://wiki.freepascal.org/TAChart_Demos#nogui



--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] Graphing library

2020-11-15 Thread Darius Blaszyk via fpc-pascal
Hi,

I am looking for a simple to use non-visual graphing library to produce x-y
plots in a  raster file format (similar to how pyplot works). Rather than
developing something from scratch or writing a wrapper to GNU plot
(additional dependency), I was hoping something like this already would
exist that I could build upon.

Thank you for any tips!

Rgds, Darius
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal