1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2010 - DIGITEO - Allan CORNET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- TEST WITH GRAPHIC -->
10 // <-- Non-regression test for bug 4640 -->
12 // <-- Bugzilla URL -->
13 // http://bugzilla.scilab.org/show_bug.cgi?id=4640
15 // <-- Short Description -->
16 // plot2d() puts CPU utilization at 100% on Windows.
18 plot2d(0:1,0:1,rect=[0 0 1 1],nax=[1 6 1 6]);
20 p = a.x_ticks.locations;
21 v0 = a.x_ticks.labels;
22 drawaxis(x=a.x_ticks.locations,y=0.5,dir="u",tics="v",val=v0)