A user has this nice graph of f(x) on his profile and I want to learn how to do it in matlab or Gnu octave.
f(x) = -(x*x*x +x + 1) (0,0) = center color(x,y) = arctan2(x, f(x)) lum(x,y) = sin(hypot(x, f(x))/alpha)
But when I try in matlab I fail:
>> y= -(x.*x.*x+x+1)
>> x = linspace(0,2*pi,100);
The matlab code does not make a plot that resembles the nice visual graph. I understand that I must also accomplish the effects, but can you help me on the way? Is there a program that is more or less suitable to make a plot like the above?