Plotting Errorbars with the Ternary Operator
- From: godber@xxxxxxxxx
- Date: Thu, 7 Jun 2012 10:35:15 -0700 (PDT)
Hi Guys,
I am using the ternary operator to select points to plot, but I also have error data that I'd like to include errorbars as well. Does anyone have any idea if this is possible?
My current plot commands are something like:
plot f using 11:( ( \
(stringcolumn(13) eq "12bpp") && \
(stringcolumn(12) eq "r") && \
(stringcolumn(10) eq "ML") \
) ? $2 : NaN ) title 'R, 12bpp' w points pt 4 lc rgb "red"
And the syntax for errorbars is something like:
plot f using 11:2:3
But the ternary operator throws a monkeywrench in that syntax AFAICT. Are they simply mutually exclusive? I can just split my datafile up. But I was liking the ternary syntax.
Austin
.
- Follow-Ups:
- Re: Plotting Errorbars with the Ternary Operator
- From: Hans-Bernhard Bröker
- Re: Plotting Errorbars with the Ternary Operator
- Prev by Date: Re: Data is not read in
- Next by Date: Re: Data is not read in
- Previous by thread: Data is not read in
- Next by thread: Re: Plotting Errorbars with the Ternary Operator
- Index(es):
Relevant Pages
|