File: plot2d1.dia.ref

package info (click to toggle)
scilab 5.3.3-10
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 330,656 kB
file content (17 lines) | stat: -rw-r--r-- 785 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// =============================================================================
// 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 bugmes();quit;end
if ( a.children(1).type <> "Compound"  ) then bugmes();quit;end
if ( a.children(2).type <> "Compound"  ) then bugmes();quit;end