#!/usr/local/bin/gnuplot -persist # set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'pointsize.3.png' unset border set dummy u, v set angles degrees unset key set parametric set view 70, 40, 0.8, 1.2 set samples 32, 32 set isosamples 9, 9 set mapping spherical set style data lines set xyplane relative 0 unset xtics unset ytics unset ztics set title "3D version using spherical coordinate system" set urange [ -90.0000 : 90.0000 ] noreverse nowriteback set vrange [ 0.00000 : 360.000 ] noreverse nowriteback set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault NO_ANIMATION = 1 ## Last datafile plotted: "world.cor" splot cos(u)*cos(v),cos(u)*sin(v),sin(u) with lines lt 5, 'world.dat' with lines lt 3, 'world.cor' using 1:2:(1):(5.*rand(0)) with points lt 1 pt 6 ps variable