Instructions for installations of GNUplot on Linux You are likely to have it already GO TO test your installation below and try it. If not use your application/packge manager (varies with the distribution) , find GNUplot and click INSTALL In Ubuntu you may use (you need administrative privileges). sudo apt-get install gnuplot In Fedora/CENTOS/Redhat use sudo yum update sudo yum install gnuplot Instructions for installations of GNUplot on FreeBSD (you need administrative privileges). port -r install gnuplot Instructions for GNUplot installation on Mac OS X Alternative 0, if you have Homebrew (see below on how to install) 1.- Open the terminal application 2.- issue the command brew install gnuplot 3.- GO TO test your installation below Alternative 1 if you have Mac Ports (see below on how to install) 1.- Open a terminal application 2.- run the command sudo port selfupdate (give you password) sudo port install gnuplot (give you password) 3.- GO TO test your installation below Alternative 2 if you do not have MacPorts: 1.- Download Aquaterm (if you have not installed before) http://sourceforge.net/projects/aquaterm/files/AquaTerm/AquaTerm1.1.0.dmg/download 2.- Double click on the AquaTerm1.1.0.dmg file drag the Aquaterm.app into the Apllications folder 3.- Download Maxima: http://sourceforge.net/projects/maxima/ click on files and choose the version for your system 2.- Dobleclick in the "Maxima-N.xx.0.dmg" file (N= version, currently 5; xx=subversion, currently above 28) the package opens Follow the instructions on: "How to install.rtf" It takes a few clicks actually, nothing fancy. 3.- GO TO test your installation below -------TEST YOUR INSTALLATION Open a terminal and issue the command gnuplot if your get an answer and your prompt changes to gnuplot> issue the call: plot sin(x) If your terminal hangs and nothing comes out try this: set terminal jpeg set output mygnuplotfile.jpg plot sin(x) pwd Goto your finder and look for the file "/User/yourname/mygnuplotfile.jpg" (replace "yourname" by whatever name your home folder has) double click You should see your graph, if you don't you may have installation conflicts (wrong or missing libraries or something else) If you see your graph here, but not in the Aquaterm above then your Aquaterm installation failed. If such is the case, try installing Homebrew , MacPorts or Fink and follow the instructions to install packages TO INSTALL ANY OF THESE YOU NEED TO INSTALL XCODE TOOLS AT: For Mac OSX 10.4, 10.5, and 10.6.8 Xcode comes in your shippng installation CD disks. Place your CD and look for Developr tools Install Xcode and X11 For 10.7 and later go to 0.- https://developer.apple.com/downloads register download the Xcode version that matches your system Install following Apple's site instructions for some versions, you may need to buy it. For some installations you also may need Xquartz, download the latest version for your OS at: https://xquartz.macosforge.org/trac/wiki/Releases -----TO INSTALL HOMEBREW: 0.- Install Xcode tools (above) or preferable install "Command Line Tools for Xcode" (download form http://developer.apple.com/downloads as mentioned above) 1.-Open a terminal 2.- issue the command ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" 3.- follow the instructions (most is automatic) -----TO INSTALL MACPORTS: 0.- Install Xcode (above) 1.- goto Mac ports site http://www.macports.org/install.php 2.-Download the installer packages matching your OS version 3.- Double click on the installer Follow the instructions ------You may also install FINK, but you would have to find the instructions at the fink web site -----WARNING !!!!!!! FINK, MACPORTS AND HOMEBREW MAY ENTER IN CONFLICT WHEN INSTALLED TOGETHER IN THE SAME SYSTEM UNLESS YOU KNOW WAHT YOUR ARE DOING, IT IS RECOMMENDED TO CHOOSE ONE AND STICK TO IT. BASICALLY THEY ALL PROVIDE THE SAME FUNCTIONALITY ------ ------TO RUN THE FITTING SCRIPTS After you have tested the instalation then you can downlowd the package of scrips to NRL fit to the MM, Hill and some other equations from: http://depa.fquim.unam.mx/~proteinas/mdcb/gnuplot_fit_scripts.zip unpack the scrips in a folder open a terminal change to that folder. You can do so by writing: >cd path/to/the/folder in the mac system you may use this trick: type "cd spacebar" on your terminal >cd and drag the folder from the finder window to the terminal window click on the terminal window press enter then type the command: "gnuplot" gnuplot> You will need a plain text editor. You may use the text edit application But go to preferences and change the: Format to plain text then open a new document. write your data in columns for the fit scripts you need to stick to this: # this is a comment, starts with # and is ignored # it may help you # to make your file readable to yourself # data comes in columns separated by space, comma, or tab marks 1 3.45 0.23 2.56 0.15 Now each script is a text file, open it with your text editor the first line is a contents heading the second line indicates how to call it the third indicates how many columns of data are needed and what values are expected on each column of the datafile replace datafile with the name of the text file where you wrote your data