HOME - Recent Changes - Search:

Academic Work


Personal

* pot de départ


dblp


(:twitter:)

-----

[ edit | logout ]
[ help | sandbox | passwd ]

Creating Square Plots with Gnuplot

#############################

Description

Here I sum up how I usually use gnuplot.

Details

First, I write an "include" file where I collect the common parts:

common.inc.gp:

set terminal postscript enhanced "Helvetica" 20
#
set style line 1 lt 1 pt 6 lw 3
set style line 2 lt 2 pt 2
#set style line 3 lt 1 pt 8
#set style line 4 lt 1 lw 3
set key left top
set key spacing 1.5
#
set xlabel "minimum support (%)"
set ylabel "total time (sec.)"
set output "plot.eps"
#
set size square

Then comes the specialization:

script.gp:

load "common.inc.gp"
#
set title "Title"
set logscale y
set ytics ("0.1" 0.1, "1" 1, "10" 10, "100" 100, "1000" 1000)
plot [80:50][:1000] \
   "data.dat" using 1:2 title "Algorithm 1" with linespoints linestyle 1, \
   "data.dat" using 1:3 title "Algorithm 1" with linespoints linestyle 2

At the end, you can compile it with the command gnuplot script.gp .

Cloud City


anime | bash | blogs | bsd | c/c++ | c64 | calc | comics | convert | cube | del.icio.us | digg | east | eBooks | egeszseg | elite | firefox | flash | fun | games | gimp | google | groovy | hardware | hit&run | howto | java | javascript | knife | lang | latex | liferay | linux | lovecraft | magyar | maths | movies | music | p2p | perl | pdf | photoshop | php | pmwiki | prog | python | radio | recept | rts | scala | scene | sci-fi | scripting | security | shell | space | súlyos | telephone | torrente | translate | ubuntu | vim | wallpapers | webutils | wikis | windows


Blogs and Dev.

* Ubuntu Incident
* Python Adventures
* me @ GitHub


Places

Debrecen | France | Hungary | Montreal | Nancy


Notes

full circle | km


Hobby Projects

* Jabba's Codes
* PmWiki
* Firefox
* PHP
* JavaScript
* Scriptorium
* Tutorials
* me @ GitHub


Quick Links


[ edit ]

View - Edit - History - Attach - Print *** Report - Recent Changes - Search
Page last modified on 2008 July 13, 17:36