#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "fenceplot_2" jsdir "." # set output 'fenceplot.2.js' set style fill solid 0.75 noborder set dummy u, v set format z "%.1f" unset key set label 1 "sampling on Y" at 6.00000, -0.100000, -1.00000 left norotate back nopoint set arrow 1 from 5.00000, -0.500000, -1.20000 to 5.00000, 0.500000, -1.20000 head back nofilled lt black linewidth 1.000 dashtype solid set parametric set view 70, 25, 1, 1 set isosamples 2, 33 set style data lines unset xtics unset ytics set title "fence plot constructed with zerrorfill" set urange [ 0.00000 : 1.00000 ] noreverse nowriteback set vrange [ -4.99000 : 4.99000 ] noreverse nowriteback set xlabel "X axis" set xlabel font "" textcolor lt -1 rotate parallel set xrange [ -5.00000 : 4.00000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -0.500000 : 0.500000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ -1.00000 : 1.00000 ] noreverse nowriteback 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 sinc(u,v) = sin(sqrt(u**2+v**2)) / sqrt(u**2+v**2) array U[10] = [-3.89111111111111,-2.78222222222222,-1.67333333333333,-0.564444444444444,0.544444444444445,1.65333333333333,2.76222222222222,3.87111111111111,4.98,6.08888888888889] u = -5 du = 1.10888888888889 ## Last datafile plotted: "+" splot for [x=-4:4][y=-50:50:3] '+' using (x):($1/100.):(-1):(-1):(sinc($1/10., 1.+x)) with zerrorfill