# HG changeset patch # User jwe # Date 1120784410 0 # Node ID 00d369dffec0f0a24f2e361bf293b170161225aa # Parent b91241999ba647a455d0f04306432c3f02d54dfd [project @ 2005-07-08 01:00:10 by jwe] diff -r b91241999ba6 -r 00d369dffec0 scripts/plot/__pltopt1__.m --- a/scripts/plot/__pltopt1__.m Thu Jul 07 17:05:20 2005 +0000 +++ b/scripts/plot/__pltopt1__.m Fri Jul 08 01:00:10 2005 +0000 @@ -218,10 +218,10 @@ elseif (set_steps) fmt = strcat (fmt, " ", STEPS); elseif (set_yerrbars) - if(set_xerrbars) - fmt = strcat (fmt, " ", XYERRORBARS); + if (set_xerrbars) + fmt = strcat (fmt, " ", XYERRORBARS); else - fmt = strcat (fmt, " ", YERRORBARS); + fmt = strcat (fmt, " ", YERRORBARS); endif elseif (set_xerrbars) fmt = strcat (fmt, " ", XERRORBARS);