Commit iniziale.

This commit is contained in:
Emiliano Vavassori 2011-03-18 02:17:35 +01:00
commit 4888b54597
5 changed files with 97 additions and 0 deletions

20
01_seno.gp Normal file
View File

@ -0,0 +1,20 @@
#
# 01_seno
#
# Created by Emiliano Vavassori on 2011-03-14.
# Copyright (c) 2011 __MyCompanyName__. All rights reserved.
#
set terminal lua tikz color solid tikzarrows scale 0.65,0.53
set output "../img/01_seno.gtx"
unset title
unset xlabel; unset ylabel
set border 3
set yrange[-1:1]
set xrange[0:2*pi]
set ytics out nomirror norotate scale 0.5 (-1, 0, 1)
set xtics out nomirror norotate ( "0" 0, "$\\frac{\\pi}{2}$" 0.5*pi, "$\\pi$" pi, "$\\frac{3\\thinspace\\pi}{2}$" 1.5*pi,"$2\\thinspace\\pi$" 2*pi) scale 0.5
unset xlabel
unset ylabel
set key below
plot sin(x) with lines title "$\\sin(x)$", cos(x) with lines title "$\\cos(x)$"

11
02_parabola.gp Normal file
View File

@ -0,0 +1,11 @@
#
# 02_parabola
#
# Created by Emiliano Vavassori on 2011-03-14.
# Copyright (c) 2011 __MyCompanyName__. All rights reserved.
#
set terminal lua tikz color solid tikzarrows scale 0.64,0.53
set output "../img/02_parabola.gtx"
f(x) = x**2 -2*x +3
plot f(x) title "$ f(x) = x^2 -2x +3 $"

18
03_geoide.gp Normal file
View File

@ -0,0 +1,18 @@
#
# 03_geoide
#
# Created by Emiliano Vavassori on 2011-03-14.
# Copyright (c) 2011 __MyCompanyName__. All rights reserved.
#
set terminal lua tikz solid color tikzarrows scale 0.95,0.8
set output "../img/03_geoide.gtx"
unset key
unset border
unset xtics
unset ytics
unset ztics
set dummy u,v
set parametric
splot cos(u)*cos(v),cos(u)*sin(v),sin(u) lt 2

22
04_histogram.dat Normal file
View File

@ -0,0 +1,22 @@
"Piemonte" 52.8 46.2 15.2
"Valle d'Aosta" 51.0 48.2 15.5
"Lombardia" 48.7 50.6 14.8
"Trentino-Alto Adige" 47.8 51.4 16.9
"Bolzano/Bozen" 44.6 54.0 20.0
"Trento" 50.8 48.9 13.6
"Veneto" 49.6 50.1 16.4
"Friuli-Venezia Giulia" 50.0 49.5 12.6
"Liguria" 56.8 42.2 10.9
"Emilia-Romagna" 48.9 50.8 13.2
"Toscana" 50.4 48.8 13.3
"Umbria" 50.6 48.5 11.9
"Marche" 46.3 53.0 14.4
"Lazio" 47.4 51.5 12.2
"Abruzzo" 51.1 48.1 14.0
"Molise" 52.9 45.4 26.7
"Campania" 53.4 45.3 14.6
"Puglia" 61.1 38.1 12.8
"Basilicata" 59.4 39.8 15.2
"Calabria" 60.5 38.6 16.1
"Sicilia" 59.1 39.8 8.8
"Sardegna" 50.0 49.5 17.1

26
04_histogram.gp Normal file
View File

@ -0,0 +1,26 @@
#
# 04_histogram
#
# Created by Emiliano Vavassori on 2011-03-15.
# Copyright (c) 2011 __MyCompanyName__. All rights reserved.
#
set encoding utf8
set terminal pdf enhanced color size 2.8,2.8
set output "../img/04_histogram.pdf"
set title "Presenza di Internet nelle \
famiglie"
set xlabel "Province"
set ylabel "Percentuale (%)"
set border 3
set key below
set xtics out rotate 90 nomirror
set ytics out nomirror
set grid ytics
set style data histograms
set style histogram rowstacked gap 1
set boxwidth 0.9
set style fill transparent solid 0.5
plot '04_histogram.dat' using 2:xtic(1) \
title "No", '' using 3 title "Si"