Installing gnuplot on Windows

[updated July 2011]

If you are still stuck with using windows for whatever reason, don’t despair you can still use gnuplot to plot your graphs! You can get gnuplot from the gnuplot project page on sourceforge.

Browse versions to go to directory with latest updates.

Download gp443win32.zip (or latest version) which is a self extracting zip file, click on it and follow the instructions. (you don’t need to have winzip installed). You just have to copy the files to a directory on your computer, then make a shortcut to wgnuplot.

It is also useful to install ghostview, you need gs860w32.exe and gs49w32.exe (or higher?) which allows you to view postscript graphs made with gnuplot, you can copy from ghostview to the windows clipboard to insert into your word document if you so desire.

Instructions for installing ghostview can be found here;
http://pages.cs.wisc.edu/~ghost/gsview/

Advertisement

6 Responses

  1. I found an alternative way which also works, installing cygwin. Cygwin allows you to have a bash shell on windows, and also enables x11 protocal for drawing xwindows. On top of the base install, in the setup, you can select gnuplot, gcc c compiler, as well as fortran compilers g77 and gfortran, as well as lots of other GPL/free software goodies.

  2. I just

    1. downloaded
    2. unzipped
    3. executed wgnuplot.exe

    It works. Simple enough for me.

    Cheers!!

  3. Well if you had read my instructions it would have worked even better!

  4. thanks worked perfectly

  5. The zip file you mention is not a self extracting file – its just a zip.

  6. Thanks, Installing worked ok, but I’m having trouble running gnuplot from a bat file on win xp from cmd.

    What I want it to do, as part of other stuff, is to plot a graph of data from a file (c:\plot.dat) in a window and to continue the bat file. What happens is I keep getting the gnuplot prompt and the bat file stops until I type quit.

    I’m guessing that there is extra parameter(s) needed when calling gnuplot from a bat file – btw should I use wgnuplot?

    I’m using c:\gnuplot\binary\gnuplot plot ‘c:\plot.dat

    Anyone any ideas?

    TIA

    John

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.