Plotting Errorbars with the Ternary Operator



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
.



Relevant Pages

  • Re: Dayton Millers Data have no Real Signal
    ... Yes, Miller did not provide errorbars, but he was writing before their usage became commonplace. ... For very noisy data, such as Miller's, there is indeed a best-fit value, and in many cases simple techniques can find it, and Miller apparently did. ... In 1933 Miller could get his paper published; today he would not, for the simple reason that it lacks an error analysis. ... actually plot the RAW data from Miller's Figure 8 and LOOK at it! ...
    (sci.physics.relativity)
  • Re: Error bars in Matlab
    ... % removeErrorBarEndsremoves the lines above/below errorbars ... %use length of xdata to find the right handle ... except for one thing: I don't want the small horizontal lines at the top and bottom of the error bars. ... I have a lot of data points on this plot, and it looks really messy having all those extra horizontal lines. ...
    (comp.soft-sys.matlab)
  • Re: Error bars in Matlab
    ... % david szotten ... %use length of xdata to find the right handle ... one of this is the errorbars ... I have a lot of data points on this plot, ...
    (comp.soft-sys.matlab)
  • Re: Error bars in Matlab
    ... %use length of xdata to find the right handle ... one of this is the errorbars ... horizontal lines at the top and bottom of the error bars. ... I have a lot of data points on this plot, ...
    (comp.soft-sys.matlab)
  • Re: plot mulitple lines LineSpec
    ... I don't think "plot" allows that syntax. ... described in the help file ... ... plt over plot/plotyy. ...
    (comp.soft-sys.matlab)