X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=demo%2Fworld2.dem;fp=demo%2Fworld2.dem;h=532ed441514fc8c872721b4b0ed924f3b16fd5a7;hb=39ec1247a71f61152a4a7f502a30f06a3896c5da;hp=0000000000000000000000000000000000000000;hpb=06be459be4f5f6a7c6ff878e84f355fb2575caa8;p=gnuplot diff --git a/demo/world2.dem b/demo/world2.dem new file mode 100644 index 0000000..532ed44 --- /dev/null +++ b/demo/world2.dem @@ -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"