#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "rgba_lines_1" jsdir "." # set output 'rgba_lines.1.js' unset border set angles degrees unset key set style arrow 1 head back noborder linecolor rgb variable linewidth 3.000 dashtype solid size screen 0.030,15.000,90.000 set object 1 rect from -0.500000, -0.500000 to -0.300000, 0.00000 set object 1 front clip lw 1.0 dashtype solid fc rgb "#bbbbbb" fillstyle solid 1.00 border lt -1 set object 2 rect from -0.300000, -0.300000 to -0.100000, 0.200000 set object 2 front clip lw 1.0 dashtype solid fc rgb "#55bbbbbb" fillstyle solid 1.00 border lt -1 set object 3 rect from -0.100000, -0.100000 to 0.300000, 0.300000 set object 3 front clip lw 1.0 dashtype solid fc rgb "#aabbbbbb" fillstyle solid 1.00 border lt -1 set object 4 rect from 0.300000, -0.400000 to 0.400000, 0.400000 set object 4 back clip lw 1.0 dashtype solid fc rgb "#22bbbbbb" fillstyle solid 1.00 border lt -1 set object 10 circle center 0.150000, -0.150000, 0.00000 size 0.5 arc [0:360] wedge set object 10 behind clip lw 1.0 dashtype solid fc rgb "cyan" fillstyle solid 1.00 border set size ratio 1 1,1 set style data lines unset xtics unset ytics set xrange [ -1.00000 : 1.00000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -1.00000 : 1.00000 ] noreverse nowriteback 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 fade(i) = (int(255.*i/360.) << 24) + 0xEF8000 ## Last datafile plotted: "+" plot sample [i=5:360:5] '+' using (0):(0):(cos(i)):(sin(i)):(fade(i)) with vector as 1