blob: b5f448bfbd8cdfed055b9e987b46962f2755dc14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr>
//
// This file is distributed under the same license as the Scilab package.
// =============================================================================
// <-- TEST WITH GRAPHIC -->
// non regression bug for plot2d
// which were erasing figure before each plot
// two plot2d1
plot2d1;
plot2d1;
a = gca();
// check that there are now two compounds ad axes children
if ( size(a.children,'*') <> 2 ) then pause,end
if ( a.children(1).type <> "Compound" ) then pause,end
if ( a.children(2).type <> "Compound" ) then pause,end
|