#152 MS Word, PDF + EMF error


Long time user, first time writer :-) Many thanks for a great piece of software!

I'm running gnuplot 4.6.0 for Windows and I'm having problems exporting PDF documents from MS Word with EMF plots generated in gnuplot, as also described here:


You have fixed this bug in gnuplot 4.6.1 I see. Unfortunately you do not have the Windows executable of that gnuplot version online. So I wanted to build it myself. I am obviously running MS Windows. I have MS Visual Studio 2010 installed and I managed to get nmake running (first time trying that). It got stuck on gd.h not existing. It appears to be part of the libgd. I went to that webpage and it seemed to be very difficult to build libdgd for windows.

So could I ask you to simply upload the Windows executable of gnuplot 4.6.1 so I can download and use it immediately and continue my work?



  • mehp

    mehp - 2012-12-03


    I have downloaded and installed the file gp470-20120916-win32-small-mingw from the webpage you mentioned. It fixes the problem I had with using EMF files in MS Word. However, now the linetypes (lt) don't work. In v.4.6.0 I would use lt 0 and lt -1 and get one dotted and one solid line. In this v.4.7.0 I just get two solid lines with the exact same gnuplot commands. In both versions I would write: set terminal emf enhanced. How do I fix this problem?

  • Bastian Märkisch

    The default setting for dashed or solid lines changed in version 4.6.1 and 4.7. You will get dahed lines with `set term emf enhanced dashed`.

  • Ethan Merritt

    Ethan Merritt - 2013-04-23
    • status: open --> closed
    • Group: -->
  • Ethan Merritt

    Ethan Merritt - 2013-04-23

    There is now a Windows binary for 4.6.3


Log in to post a comment.