1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2017 - Samuel GOUGEON
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- TEST WITH GRAPHIC -->
9 // <-- NO CHECK REF -->
11 // <-- Non-regression test for bug 14544 -->
13 // <-- Bugzilla URL -->
14 // http://bugzilla.scilab.org/14544
16 // <-- Short Description -->
17 // scatter and scatter3 canceled any upstream drawlater instruction
19 x = linspace(0,2,200);
20 y = exp(-x).*cos(10*x) + 0.2*rand(1,length(x));
23 // create 2D scatter plot
24 for i=1:12, subplot(3,4,i), scatter(x,y); end
29 for i=1:12, subplot(3,4,i), scatter(x,y); end
32 assert_checktrue(t1>t2);