I am currently trying to visualize a scatter plot given x and y-axis from the table Data and the colors of the points I want to come from the table valuesnew.
Data = {{0.458363,0.638569},{0.853902,0.756263},{0.880396,0.411021},{0.112152,0.618945}}
valuesnew = {Red, Red, Yellow, Blue}
ListPlot[Transpose[{Data[[All,1]], Data[[All,2]]}], PlotStyle->valuesnew]
The problem is that it colors all the points only based on the last color of the list. Does anyone know how to fix this issue? Thank you!
ListPlot[Map[List, Data], PlotStyle -> valuesnew]
$\endgroup$ListPlot[List /@ Transpose[{Data[[All, 1]], Data[[All, 2]]}], PlotStyle -> valuesnew]
. TheYellow
point is hard to see, $\endgroup$ListPlot[Thread@Style[Data, valuesnew]]
. $\endgroup$