fgrayplot() updated (addition with an empty matrix nows returns an empty matrix. 89/18789/2
Adeline CARNIS [Tue, 13 Dec 2016 15:41:29 +0000 (16:41 +0100)]
Change-Id: Id99bf128ec7b1a4bdf0f56918a185c7a4cf61ae4

scilab/modules/graphics/macros/fgrayplot.sci

index 06b26b1..6e6d573 100644 (file)
@@ -39,7 +39,7 @@ function []=fgrayplot(x,y,f,strf,rect,nax,void)
     end
 
 
-    opts=[]
+    opts="";
     if exists("style","local")==1 then opts=[opts,"style=style"],end
     if exists("strf","local")==1 then opts=[opts,"strf=strf"],end
     if exists("rect","local")==1 then opts=[opts,"rect=rect"],end