1

I am looking for a way to plot a function as a single line of color (in 1D), where the color is defined based on value of the function.

i.e. y=sin(x) will be plotted like a single line with changing gradient.

PumpkinPie
  • 111
  • 1
  • 6

0 Answers0