/
usr
/
share
/
doc
/
perl-GDGraph
/
samples
/
/usr/share/doc/perl-GDGraph/samples
mkdir
upload
Name
Size
Mode
Actions
error.pl
179
0644
edit
dl
rm
logo.gif
2669
0644
edit
dl
rm
logo.png
2927
0644
edit
dl
rm
Makefile
2366
0644
edit
dl
rm
make_index.pl
1425
0644
edit
dl
rm
rgb.txt
17120
0644
edit
dl
rm
sample1A.pl
1103
0644
edit
dl
rm
sample1B.pl
958
0644
edit
dl
rm
sample11.pl
930
0644
edit
dl
rm
sample12.pl
895
0644
edit
dl
rm
sample13.pl
805
0644
edit
dl
rm
sample14.pl
2508
0644
edit
dl
rm
sample15.pl
999
0644
edit
dl
rm
sample16.pl
1249
0644
edit
dl
rm
sample17.pl
1061
0644
edit
dl
rm
sample18.pl
3087
0644
edit
dl
rm
sample19.pl
2887
0644
edit
dl
rm
sample21.pl
705
0644
edit
dl
rm
sample22.pl
563
0644
edit
dl
rm
sample23.pl
2759
0644
edit
dl
rm
sample29.pl
732
0644
edit
dl
rm
sample31.pl
706
0644
edit
dl
rm
sample41.pl
807
0644
edit
dl
rm
sample42.dat
103
0644
edit
dl
rm
sample42.pl
974
0644
edit
dl
rm
sample51.pl
665
0644
edit
dl
rm
sample52.pl
873
0644
edit
dl
rm
sample53.pl
1280
0644
edit
dl
rm
sample54.dat
31468
0644
edit
dl
rm
sample54.pl
1039
0644
edit
dl
rm
sample55.pl
665
0644
edit
dl
rm
sample56.pl
1187
0644
edit
dl
rm
sample57.pl
579
0644
edit
dl
rm
sample58.pl
715
0644
edit
dl
rm
sample61.pl
1367
0644
edit
dl
rm
sample62.pl
838
0644
edit
dl
rm
sample63.pl
1053
0644
edit
dl
rm
sample64.pl
1455
0644
edit
dl
rm
sample71.pl
2624
0644
edit
dl
rm
sample72.pl
1060
0644
edit
dl
rm
sample91.pl
512
0644
edit
dl
rm
sample92.pl
616
0644
edit
dl
rm
sample93.pl
491
0644
edit
dl
rm
sample94.pl
685
0644
edit
dl
rm
sample95.pl
2682
0644
edit
dl
rm
save.pl
288
0644
edit
dl
rm
Edit:
/usr/share/doc/perl-GDGraph/samples/Makefile
(2366B)
# This Makefile requires GNU make. If you have anything else, it is very # likely that you won't be able to use this. Two pieces of advice: # # Get GNU make. It's free, and superior to many others # # Run the examples by hand, one by one, or do something like # # tcsh> foreach s (*.pl) # foreach> perl -I. -Mblib -Tw $s # foreach> end # # If you use an old version of GD that exports GIF, you will need to # have ImageMagick installed, or you need to provide another way to # convert logo.png to logo.gif. .SILENT: PERL = perl EXTRA_OPTS = OPTIONS = -I. -Mblib $(EXTRA_OPTS) -w EXT := $(shell perl $(OPTIONS) -MGD::Graph \ -e 'print scalar GD::Graph::export_format') # Samples # sample1? : bars # sample2? : area # sample3? : points # sample4? : linespoints # sample5? : lines # sample6? : mixed # sample7? : tricks and test cases # sample9? : pie SAMPLES := \ sample11 sample12 sample13 sample14 sample15 \ sample16 sample17 sample18 sample19 sample1A sample1B \ sample11-h sample12-h sample13-h sample14-h sample15-h \ sample16-h sample17-h sample18-h sample19-h sample1A-h sample1B-h\ sample21 sample22 sample23 \ sample31 \ sample41 sample42\ sample51 sample52 sample53 sample54 sample55 sample56 \ sample57 sample58 \ sample61 sample62 sample63 sample64 \ sample71 sample72 \ sample91 sample92 sample93 sample94 sample95 sample95-h IMAGES := $(SAMPLES:%=%.$(EXT)) all: $(IMAGES) echo "" echo These samples are both examples and test cases. Therefore echo some of them might look slightly unrealistic. info: $(PERL) $(OPTIONS) -le 'print "Perl ", $$]' $(PERL) $(OPTIONS) -MGD -le 'print "GD ", $$GD::VERSION' $(PERL) $(OPTIONS) -MGD::Text \ -le 'print "GD::Text ", $$GD::Text::VERSION' $(PERL) $(OPTIONS) -MGD::Graph \ -le 'print "GD::Graph ", $$GD::Graph::VERSION' $(PERL) $(OPTIONS) -le 'for (@INC) {print}' %.$(EXT) %-h.$(EXT): %.pl $(PERL) $(OPTIONS) $< # EXPERIMENTAL, for internal use only. Don't try to run this html: make_index.pl Makefile $(PERL) $(OPTIONS) make_index.pl $(EXT) # Requires ImageMagick to be installed logo.gif: logo.png convert logo.png logo.gif clean: rm -f $(IMAGES) logo.gif # Other dependencies sample14.$(EXT): logo.$(EXT) sample42.$(EXT): sample42.dat sample54.$(EXT): sample54.dat sample56.$(EXT): sample54.dat sample53.$(EXT): rgb.txt
Save
cmd:
run