summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug1732.sci
blob: 66d5a9603a8d05c9060813f2037986097b1a975a (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
// <-- Non-regression test for bug 1732 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1732
//
// <-- Short Description -->
//    The field Axes.sub_tics does not correctly works under Linux, but correctly
//    works un Windows.
//
//    Jacques-Deric

// Copyright INRIA
// Scilab Project - Jean-Baptiste Silvy
// Copyright INRIA 2006
// Date : 18 janvier 2006

ref = [1,0,5] ;

ha = gca () ;
ha.axes_visible="on" ;
ha.view = "3d" ;
ha.sub_ticks = ref ;
res1 = ha.sub_ticks ;

// mask Z axis
ha.rotation_angles = [1,30];
res2 = ha.sub_ticks ;


// check the sub_ticks were not modified
if ( res1 == ref & res2 == ref  ) then
  affich_result(%T,1732);
else
  affich_result(%F,1732);
end