diff scripts/plot/__ezplot__.m @ 7540:3422f39573b1

strcat.m: Matlab compatibility, with cstrcat.m replacing conventional strcat.m.
author Ben Abbott <bpabbott@mac.com>
date Thu, 28 Feb 2008 02:41:19 -0500
parents e70789e0cd92
children c4482fc30c7f
line wrap: on
line diff
--- a/scripts/plot/__ezplot__.m	Thu Feb 28 02:17:05 2008 -0500
+++ b/scripts/plot/__ezplot__.m	Thu Feb 28 02:41:19 2008 -0500
@@ -20,7 +20,7 @@
 
 function [h, needusage] = __ezplot__ (pfunc, varargin)
 
-  func = strcat ("ez", pfunc);
+  func = cstrcat ("ez", pfunc);
   if (strncmp (pfunc, "contour", 7))
     iscontour = true;
   else
@@ -254,7 +254,7 @@
 		      '\./', '/'), '[\.]*\*', '');
     fstrz = regexprep (regexprep (regexprep (fstrz,'\.\^\s*','^'), 
 		      '\./', '/'), '[\.]*\*', '');
-    fstr = strcat ("[",fstrx,",",fstry,",",fstrz,"]");
+    fstr = cstrcat ("[",fstrx,",",fstry,",",fstrz,"]");
   else
     if (isplot3)
       needusage = true;