How To invert ColorFunction
- To: mathgroup at smc.vnet.net
- Subject: [mg106719] How To invert ColorFunction
- From: Vladimir <svetlana_47 at yahoo.de>
- Date: Thu, 21 Jan 2010 06:31:27 -0500 (EST)
Hi everybody,
I am plotting Zernike-Polynomials like this:
---------
c4 = 1;
z4[rho_, theta_] := rho^2*Cos[2*theta]
RevolutionPlot3D[c4*z4[rho, theta], {rho, 0, 1}, {theta, 0, 2*Pi},
ColorFunction -> "Rainbow"]
---------
To be able to compare the plot to measured data from an
interferometer, I would like to invert the Rainbow colouring, that is
red at the bottom and blue on top. However, I can't find to work this
out. Does anyone know how to do this?
Thank you,
Vladimir.
- Follow-Ups:
- Re: How To invert ColorFunction
- From: "Eric G" <eric.phys@gmail.com>
- Re: How To invert ColorFunction
- From: "van der Burgt, Maarten" <Maarten.VanDerBurgt@icos.be>
- Re: How To invert ColorFunction
- From: Patrick Scheibe <pscheibe@trm.uni-leipzig.de>
- Re: How To invert ColorFunction
- From: Leonid Shifrin <lshifr@gmail.com>
- Re: How To invert ColorFunction
- From: Vivek Joshi <vivekj@wolfram.com>
- Re: How To invert ColorFunction