diff scripts/plot/legend.m @ 7054:1c5b2b5b58ba

[project @ 2007-10-23 23:22:16 by jwe]
author jwe
date Tue, 23 Oct 2007 23:22:17 +0000
parents a1dbe9d80eee
children 735086cfd405
line wrap: on
line diff
--- a/scripts/plot/legend.m
+++ b/scripts/plot/legend.m
@@ -98,6 +98,7 @@
   
   if (nargs > 1)
     pos = varargin{nargs-1};
+    str = varargin{nargs};
     if (strcmpi (pos, "location")  && ischar (str))
       set (ca, "keypos", str);
       nargs -= 2;