On Jun 24, 11:27=A0pm, philkime <Phi...@[EMAIL PROTECTED]
> wrote:
> On Jun 24, 1:00=A0pm, merr...@[EMAIL PROTECTED]
wrote:
>
> > There are many ways. =A0The simplest is something like
>
> > plot 'foo' using 0:($0 < 50 ? $3 : NaN) lc rgb "red", \
> > =A0 =A0 =A0 =A0 '' using 0:($0 < 50 ? NaN : $3) lc rgb "green"
>
> Perfect, thanks. I just hadn't read that bit of the manual closely
> enough. I ended up doing:
>
> plot 'foo' using 0:($0 < 50 ? $3 : NaN) lc rgb "red", \
> =A0 =A0 =A0 =A0 '' using 0:(($0 >=3D 51) && ($0 <=3D 100)) ? NaN : $3)
lc=
rgb
> "green"
>
> otherwise the green line just overwrites the red one
Hi, what part of your plot got overwritten? I can only see that point
50 would get plotted twice with what Ethan suggested. Since all your
data is <100 I don't understand the second condition you applied.


|