I have a 3D iterative plot, where each iteration (1,2,3) is represented by equation of piecewise linear function. I am trying to change the colors of plot, to get for every iteration (piecewise function) different color.
Here is my plot and code what I use for plotting
Show[Map[ParametricPlot3D[{x, maxlines[x, iterpairs[[#]]], #}, {x, 0,
1},BoxRatios -> {1, 1, 2}, PlotRange -> {{0, 1}, {0, 1}, {0, 3}}] &,
Range[3]]]
I was trying to add as parameter ColorFunction
, but it didnt work.
ColorFunction->"Rainbow"
Does anyone know which parameter should I add, to change the colors of this plot? Thank you for your advices.