Re: Meshshading
- To: mathgroup at smc.vnet.net
- Subject: [mg119762] Re: Meshshading
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Tue, 21 Jun 2011 05:51:48 -0400 (EDT)
- Reply-to: hanlonr at cox.net
ParametricPlot[{(v + u) Cos[u], (v + u) Sin[u]}, {u, 0, 4 Pi}, {v, 0, 5}, MeshFunctions -> {#3 &}, MeshShading -> {Black, Yellow}, Axes -> False] Bob Hanlon ---- Jean-Louis Garcin <jeanlouisgarcin at free.fr> wrote: ============= Hello, In the documentation center of the Wolfram Website we find the following example: ParametricPlot[{(v + u) Cos[u], (v + u) Sin[u]}, {u, 0, 4 Pi}, {v, 0, 5}, ColorFunction -> Function[{x, y, u, v}, Hue[x]], MeshFunctions -> {#3 &}, MeshShading -> {Black, Automatic}] One color is always the same: Black and I think that the other one depends of the row of the mesh. Is it possible that the two colors depends of the of the row of the mesh? And how to do it? Thank you very much for your answer. Jean-Louis Garcin