# HG changeset patch # User Ben Abbott # Date 1272729632 14400 # Node ID ba346313bdc1143a1ee20aa515a761f06bb048c3 # Parent 24e915c602e7e67e8e8a58751effd7a7ba42c0f1 __go_draw_axes__.m: Remove gnuplot errorbar code. diff -r 24e915c602e7 -r ba346313bdc1 scripts/ChangeLog --- a/scripts/ChangeLog Sat May 01 10:55:42 2010 -0400 +++ b/scripts/ChangeLog Sat May 01 12:00:32 2010 -0400 @@ -1,3 +1,7 @@ +2010-05-01 Ben Abbott + + * plot/__go_draw_axes__.m: Remove gnuplot errorbar code. + 2010-04-30 Ben Abbott * plot/loglogerr.m, plot/semilogxerr.m, plot/semilogyerr.m: diff -r 24e915c602e7 -r ba346313bdc1 scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Sat May 01 10:55:42 2010 -0400 +++ b/scripts/plot/__go_draw_axes__.m Sat May 01 12:00:32 2010 -0400 @@ -446,74 +446,9 @@ else xdat = obj.xdata(:); ydat = obj.ydata(:); - ldat = obj.ldata; - yerr = xerr = false; - if (! isempty (ldat)) - yerr = true; - ldat = ldat(:); - endif - udat = obj.udata; - if (! isempty (udat)) - udat = udat(:); - endif - xldat = obj.xldata; - if (! isempty (xldat)) - xerr = true; - xldat = xldat(:); - endif - xudat = obj.xudata; - if (! isempty (xudat)) - xudat = xudat(:); - endif - if (yerr) - if (isempty (ldat)) - ylo = ydat; - else - ylo = ydat-ldat; - endif - if (isempty (udat)) - yhi = ydat; - else - yhi = ydat+udat; - endif - if (xerr) - if (isempty (xldat)) - xlo = xdat; - else - xlo = xdat-xldat; - endif - if (isempty (xudat)) - xhi = xdat; - else - xhi = xdat+xudat; - endif - data{data_idx} = [xdat, ydat, xlo, xhi, ylo, yhi]'; - usingclause{data_idx} = sprintf ("record=%d using ($1):($2):($3):($4):($5):($6)", numel (xdat)); - errbars = "xyerrorbars"; - else - data{data_idx} = [xdat, ydat, ylo, yhi]'; - usingclause{data_idx} = sprintf ("record=%d using ($1):($2):($3):($4)", numel (xdat)); - errbars = "yerrorbars"; - endif - elseif (xerr) - if (isempty (xldat)) - xlo = xdat; - else - xlo = xdat-xldat; - endif - if (isempty (xudat)) - xhi = xdat; - else - xhi = xdat+xudat; - endif - data{data_idx} = [xdat, ydat, xlo, xhi]'; - usingclause{data_idx} = sprintf ("record=%d using ($1):($2):($3):($4)", numel (xdat)); - errbars = "xerrorbars"; - else - data{data_idx} = [xdat, ydat]'; - usingclause{data_idx} = sprintf ("record=%d using ($1):($2) axes %s%s", - rows(xdat), xaxisloc_using, yaxisloc_using); - endif + data{data_idx} = [xdat, ydat]'; + usingclause{data_idx} = sprintf ("record=%d using ($1):($2) axes %s%s", + rows(xdat), xaxisloc_using, yaxisloc_using); endif style = do_linestyle_command (obj, obj.color, data_idx, mono,