following script: set terminal svg size 1000 1000 fixed enhanced fname 'Times' fsize 36 set output "X_cubed_plot.svg" set samples 5000 set xrange [-4:4]
turn): x,y,z = point if mirror: x,y,z = y,x,z if turn: x,y,z = -x,-y,z if flip: x,y,z = -y,x,-z for i in range(spin): x,y,z = y,z,x return x,y,z points