# HG changeset patch # User jwe # Date 1120784410 0 # Node ID 00d369dffec0f0a24f2e361bf293b170161225aa # Parent b91241999ba647a455d0f04306432c3f02d54dfd [project @ 2005-07-08 01:00:10 by jwe] diff --git a/scripts/plot/__pltopt1__.m b/scripts/plot/__pltopt1__.m --- a/scripts/plot/__pltopt1__.m +++ b/scripts/plot/__pltopt1__.m @@ -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);