This post is an extension of the post:
Actually I got the answer for that question from
I guess you want to color a list of 2D points using a function like k[s,f]. You can Style the original data and use the resulting data with ListPlot.
But I didn't understand from here:
" If the data is 3D and the third entry is obtained by applying a
function like k[s,f] to the first two entries (like data set dt3d
below), then the function we use to style the data is slightly
I understand in the example of
styleddt that in
## refers to the two variables which
k is function of them.
But now I try to plot another function, like
with -1 < s < 1,
f= 0.5, and
-0.5 < d < 0.5, and I want to plot
Y[s,f,d] only at
-2 < Y < 0, or Piecewise can be used as in the first example to know Y values.