# set terminal svg size 600,400 dynamic enhanced fname 'arial' fsize 10 mousing name "rgb_variable_6" butt dashlength 1.0 # set output 'rgb_variable.6.svg' set bar 1.000000 front unset border set style circle radius graph 0.02, first 0.00000, 0.00000 set style ellipse size graph 0.05, 0.03, first 0.00000 angle 0 units xy set angles degrees set label 99 "" at 0.00000, 0.00000, 0.00000 left norotate back nopoint set style textbox transparent margins 1.0, 1.0 border unset logscale set hidden3d back offset 1 trianglepattern 3 undefined 1 altdiagonal bentover set style data lines set xzeroaxis lt black linewidth 2.000 dashtype solid set yzeroaxis lt black linewidth 2.000 dashtype solid set zzeroaxis lt black linewidth 2.000 dashtype solid set xyplane at 0 set xtics axis in scale 1,0.5 nomirror norotate autojustify set ytics axis in scale 1,0.5 nomirror norotate autojustify set ztics axis in scale 1,0.5 nomirror norotate autojustify unset paxis 1 tics unset paxis 2 tics unset paxis 3 tics unset paxis 4 tics unset paxis 5 tics unset paxis 6 tics unset paxis 7 tics set title "Demo of hidden3d with points only (no surface)" set xlabel "Red" set xlabel font "" textcolor rgb "red" norotate set xrange [ 0.00000 : 255.000 ] noreverse nowriteback set ylabel "Green" set ylabel font "" textcolor rgb "green" rotate by -270 set yrange [ 0.00000 : 255.000 ] noreverse nowriteback set zlabel "Blue" set zlabel font "" textcolor rgb "blue" norotate set zrange [ 0.00000 : 255.000 ] noreverse nowriteback set paxis 1 range [ * : * ] noreverse nowriteback set paxis 2 range [ * : * ] noreverse nowriteback set paxis 3 range [ * : * ] noreverse nowriteback set paxis 4 range [ * : * ] noreverse nowriteback set paxis 5 range [ * : * ] noreverse nowriteback set paxis 6 range [ * : * ] noreverse nowriteback set paxis 7 range [ * : * ] noreverse nowriteback set lmargin 5 set bmargin 2 set rmargin 5 set colorbox vertical origin screen 0.9, 0.2, 0 size screen 0.05, 0.6, 0 front noinvert bdefault rgb(r,g,b) = int(r)*65536 + int(g)*256 + int(b) xrgb(r,g,b) = (g-b)/255. * cos(30.) yrgb(r,g,b) = r/255. - (g+b)/255. * sin(30.) GPFUN_rgb = "rgb(r,g,b) = int(r)*65536 + int(g)*256 + int(b)" GPFUN_xrgb = "xrgb(r,g,b) = (g-b)/255. * cos(30.)" GPFUN_yrgb = "yrgb(r,g,b) = r/255. - (g+b)/255. * sin(30.)" x = 0.0 ## Last datafile plotted: "rgb_variable.dat" splot 'rgb_variable.dat' using 1:2:3:(5*rand(0)):(rgb($1,$2,$3)) with points pt 7 ps variable lc rgb variable title "variable pointsize and rgb color computed from coords"