summaryrefslogtreecommitdiff
path: root/modules/graphics/tests/unit_tests/Matplot.dia.ref
blob: 8306e66b818e08187d7ea4f7651e45e6d6d3bf69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr>
// Copyright (C) 2011 - DIGITEO - Bruno JOFRET
//
//  This file is distributed under the same license as the Scilab package.
// =============================================================================
// <-- TEST WITH GRAPHIC -->
// non regression bug for Matplot_properties
// test matplot object
// Check each default property
Matplot([1 2 3;4 5 6])
e = gce();
assert_checkequal(e.parent.type, "Axes")
 ans  =
 
  T  
assert_checkequal(e.children, [])
 ans  =
 
  T  
assert_checkequal(e.visible, "on")
 ans  =
 
  T  
assert_checkequal(e.data, [1, 2, 3 ; 4, 5, 6])
 ans  =
 
  T  
assert_checkequal(e.clip_state, "clipgrf")
 ans  =
 
  T  
assert_checkequal(e.clip_box, [])
 ans  =
 
  T  
assert_checkequal(e.user_data, [])
 ans  =
 
  T  
// used to crash Scilab
clf();
Matplot(1:32);