Am 08.03.2021 um 21:52 schrieb riles(a)triton.net:
Hello
I would like to save a plot/graph as a .png file using the c/c++ api. In order to do
this do I need to use header files from the gui folder. In particular do I need to use
gpt_control.h, and session.h? If there are an examples on how to save plot/graph as a .png
file that would be great, if not an overview on how to go about doing it would be much
appreciated.
Hi, I don't have an example, but I don't think the gui directory is
needed. Plotting in gretl happens through gnuplot also in the command
line environment, including libgretl (C level). Have you checked out
lib/src/graphing.c & .h?
cheers
sven