summaryrefslogtreecommitdiffstats
path: root/scilab/modules/compatibility_functions/tests/nonreg_tests/bug_7079.tst
blob: 5b1de16c022ec2d3818797cd9f0e8dc9111b2fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2010 - DIGITEO - Pierre Lando <pierre.lando@scilab.org>
//
//  This file is distributed under the same license as the Scilab package.
// =============================================================================

// <-- TEST WITH GRAPHIC -->

// <-- Non-regression test for bug 7079 -->
//
// <-- Bugzilla URL -->
// http://bugzilla.scilab.org/show_bug.cgi?id=7079
//
// <-- Short Description -->
// "mtlb_get" used a "h" global variable instead of the given "H" parameter.


h=8;
f=scf(0);
f.color_map=jetcolormap(14);
if size(mtlb_get(0, "colormap"), "*") <> 42 then pause, end;