I want to colour the points in a ListPlot
with a list of colours, i.e. something like
data = Table[Cos[x]^2, {x, 0, 10, 0.1}];
colourData = Table[Cos[x]^2, {x, 0, 10, 0.1}];
colours = (ColorData["TemperatureMap"][#] &) /@ colourData;
ListPlot[data,Joined->True (* Something like PlotStyle -> colours*)]
And I want an output that looks like this
data = Cos[Range[0, 10, 0.1]]
$\endgroup$ – OkkesDulgerci Sep 19 at 14:58