function graphHelix
  t=linspace(0,10*pi,255);

  % make t a column vector
  t=t(:);

  % display in a new window
  figure

  % to fade between two colors, we take a convex combination of the two
  red=[1 0 0];
  blue=[0 0 1];

  x=sin(t);
  y=cos(t);
  frac=t/(10*pi);
  color=frac*red+(1-frac)*blue;

  scatter3(x,y,t,30,color,'filled');
end