I have worked on OpenShoe project for almost a month now as a part of my Bachelor Thesis. Off late I had to use GNUPlot to plot the trajectory of the First Responder. The scripts for the same were already present. I had to get those scripts working on one laptop. I had to use GNUPlot 4.6 patchlevel 0 version.
Software Center was somehow showing me GNUPlot 4.4.* Version which I didn’t want. The reason I had to use GNUPlot 4.6.0 was because of the terminal type ‘pngcairo’. My application specifically asked for this particular type of terminal which didn’t come with this default setting. Anyhow, I went to the GNUPlot ‘s homepage and downloaded GNUPlot 4.6.0 . The website said that this particular version came with stable and full featured terminals like pngcairo , pdfcairo , epscairo and cairolatex . However there were some dependencies issues with Cairo and Pango.
I unzipped the GNUPlot 4.6.0 and ran
However it threw up various dependency errors. We can now remove those errors simply by using the following command.
sudo apt-get install libwxgtk2.8-dev libpango1.0-dev libx11-dev libxt-dev texinfo libreadline5-dev
Once this is done, you can go back to the GNUPlot folder and run the following.
sudo ./configure sudo make sudo make check sudo make install
sudo make check allows you to check whether you have the fully functional GNUPlot or not.
You can also do
sudo apt-get install ffmpeg mencoder
However, it all depends on your application 🙂