I am trying to plot an error ellipsoid in 3D. This is ofcourse not that hard, but I found troubles with the collors. The colormap that I used use the Z values for the color. I would like that the describes the relationship of the distance between a point on the ellipsoid and another (for simple use the centre) point.
Now the collor change from bottom to top, but I would like that is also has a horizontal change due to a change in the different axes.
Is there a way to manipulate the colormap so it shows the distances instead of the value Z ?
I thought maybe it is possible to greate a grid, same as the Z, but instead of the Z points it calculates the distance. Is it possible to use another 2d array for the colormap instead of the default Z?
Thanks for your help