I have a function f(x,y,z) for which I'd like to have a graphical representation. I know f(x,y,z) varies between 1 and a maximum value, so I thought it would be nice to represent each x,y,z-point by a pixel for which white represents 1 and black represents the maximum value of f(x,y,z). Intermediate values could be presented by a grayish according to the value.
Can this be done in Octave, or can someone point me to similar examples and solutions,