Initial release of Maemo 5 port of gnuplot
[gnuplot] / demo / world2.dem
diff --git a/demo/world2.dem b/demo/world2.dem
new file mode 100644 (file)
index 0000000..532ed44
--- /dev/null
@@ -0,0 +1,31 @@
+#
+# Plot of location on globe, 
+# this time with labels color-coded by explicit 4th input column
+# Requires EAM_DATASTRINGS
+#
+set dummy u,v
+set angles degrees
+set parametric
+set view 60, 136, 1.22, 1.26
+set samples 64,64
+set isosamples 13,13
+set mapping spherical
+unset xtics
+unset ytics
+unset ztics
+set border 0
+set title "Labels colored by GeV plotted in spherical coordinate system"
+set urange [ -90.0000 : 90.0000 ] noreverse nowriteback
+set vrange [ 0.00000 : 360.000 ] noreverse nowriteback
+set cblabel "GeV"
+set cbrange [0:8]
+set colorb vert user size 0.02, 0.75
+unset hidden
+splot cos(u)*cos(v),cos(u)*sin(v),sin(u) notitle with lines lt 5, \
+      'world.dat' notitle with lines lt 2, \
+      'srl.dat' using 3:2:(1):1:4 with labels notitle point pt 6 lw .1 left offset 1,0 font "Helvetica,7" tc pal
+pause -1 "Same plot with hidden line removal"
+set title "Labels with hidden line removal"
+set hidden nooffset
+replot
+pause -1 "Hit return to continue"