Search code examples
gnuplot

Gnuplot - Windows terminal and save in png/pdf ... (not only .EMF)


I'm using gnuplot to draw graphics by piping the data from my C++ program to gnuplot.exe trough shell. I'm using the windows terminal and it is used exclusively with Windows OS.

However, I can only save the graphic as a .EMF file. How can I extend the windows GUI terminal to support more formats ?

gnuplot windows terminal


Solution

  • I think that the windows GUI terminal can not be extended.

    I have finally switched to the QT interactive terminal as recommended by @gboffi. This terminal permits to export the graph to :

    • pdf
    • svg
    • bmp (via image)
    • png (via image)

    See bellow :

    enter image description here

    Note that this answer entails that the generated gnuplot.exe will be dependent to some external dlls ( QT5Core.dll ...)