<div dir="ltr">Hi there!<br><br>After a long search on Internet I decided to post my question here (I&#39;m a newbie in this posting-list).<br>I have a set of 2D data (DAT-file) which I would like to plot and color according to their Y value. Until now I can only plot all points with listplot having all the same color (ex: \listplot[plotstyle= dots linecolor=red]). But for my purpose I would have to use a \forloop or \multido command to read every single point in the data set and plot it by chosing a color according to its Y-coordinate value, for example using the \hsv command. The question is: How can I access the elements of data as single points? Is there a syntax like: \data[20][1] or \data(20) (or for those who know MATLAB:  data(20,:) -colon syntax to access the coordinates).<br>
<br>I  did not find any similar on Internet. Maybe I must re-define the listplot command but I could do this only if I had the source code of the original command or something like that.<br><br>Any ideas? I would really appreciate it.<br>
<br><br>Regards,<br><br><br>Jorge<br></div>