Debian Codegraph @

t/t3.t

raw symbols SCIP
1 use strictscip-perl cpan PGPLOT 2.36 strict/; use warningsscip-perl cpan PGPLOT 2.36 warnings/;
2 use Test::Morescip-perl cpan PGPLOT 2.36 Test/More/;
3 use Configscip-perl cpan PGPLOT 2.36 Config/;
4 # Stop f77-linking causing spurious undefined symbols (alpha)
5 $ENVscip-perl cpan PGPLOT 2.36 main/`%ENV`.{'PERL_DL_NONLAZY'}=0 if $Configscip-perl cpan PGPLOT 2.36 main/`%Config`.{'osname'} eq "dec_osf";
6 requirescip-perl cpan PGPLOT 2.36 main/require(). PGPLOT;
7
8 my $dev = $ENVscip-perl cpan PGPLOT 2.36 main/`%ENV`.{PGPLOT_DEV} || '/NULL';
9
10 $ENVscip-perl cpan PGPLOT 2.36 main/`%ENV`.{PGPLOT_XW_WIDTH}=0.3;
11
12 notescip-perl cpan PGPLOT 2.36 main/note(). "Testing histogram routines";
13
14 my $i=0; my @data=();
15 while(<DATA>){
16 $i++;
17 chopscip-perl cpan PGPLOT 2.36 main/chop().;
18 $data[$i-1] = $_scip-perl cpan PGPLOT 2.36 main/$_.;
19 }
20
21 PGPLOT::pgbeginscip-perl cpan PGPLOT 2.36 PGPLOT/pgbegin().(0,$dev,1,1);
22
23 PGPLOT::pgscfscip-perl cpan PGPLOT 2.36 PGPLOT/pgscf().(2);
24 PGPLOT::pgslwscip-perl cpan PGPLOT 2.36 PGPLOT/pgslw().(4);
25 PGPLOT::pgschscip-perl cpan PGPLOT 2.36 PGPLOT/pgsch().(1.6);
26
27 PGPLOT::pgsciscip-perl cpan PGPLOT 2.36 PGPLOT/pgsci().(6);
28
29 PGPLOT::pgsciscip-perl cpan PGPLOT 2.36 PGPLOT/pgsci().(7);
30
31 PGPLOT::pghistscip-perl cpan PGPLOT 2.36 PGPLOT/pghist().($i,\@data,0,10,10,2);
32
33 PGPLOT::pglabelscip-perl cpan PGPLOT 2.36 PGPLOT/pglabel().("Data Value","Number of data items","Test histogram");
34
35 PGPLOT::pgendscip-perl cpan PGPLOT 2.36 PGPLOT/pgend().();
36
37 pass;
38 done_testing;
39
40 __DATA__
41 1
42 1
43 2
44 3
45 4
46 7
47 3
48 5
49 7
50 3
51 5
52 6
53 2
54 2
55 2
56 2
57 1
58 6
59 7