1

I would like to plot several functions in one plot and start the standard color rotation (ColorData[97, "ColorList"] // InputForm) from the second color and go on from there. What is the syntax for doing that?

m_goldberg
  • 107,779
  • 16
  • 103
  • 257

2 Answers2

1

PlotStyle->(ColorData[97][#]&/@Range[2,n+1])

Quantum_Oli
  • 7,964
  • 2
  • 21
  • 43
1

Just to be perverse, I suggest making the 1st function a constant that will be skipped in the plotting. This has the advantage that you don't need to know the default color list is no. 97.

Plot[Evaluate @ {0, Sequence @@ Table[Sin[k x], {k, 3}]}, {x, 0, 2. π},
  PlotStyle -> {None, Sequence @@ Table[Automatic, 3]}]

plot

m_goldberg
  • 107,779
  • 16
  • 103
  • 257