Skip to content

Commit 48357b7

Browse files
committed
first commit
1 parent e041a1c commit 48357b7

File tree

25 files changed

+974
-0
lines changed

25 files changed

+974
-0
lines changed

.gitignore

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
2+
# Created by https://www.toptal.com/developers/gitignore/api/windows,macos,linux,vscode
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,macos,linux,vscode
4+
5+
### Linux ###
6+
*~
7+
8+
# temporary files which can be created if a process still has a handle open of a deleted file
9+
.fuse_hidden*
10+
11+
# KDE directory preferences
12+
.directory
13+
14+
# Linux trash folder which might appear on any partition or disk
15+
.Trash-*
16+
17+
# .nfs files are created when an open file is removed but is still being accessed
18+
.nfs*
19+
20+
### macOS ###
21+
# General
22+
.DS_Store
23+
.AppleDouble
24+
.LSOverride
25+
26+
# Icon must end with two \r
27+
Icon
28+
29+
30+
# Thumbnails
31+
._*
32+
33+
# Files that might appear in the root of a volume
34+
.DocumentRevisions-V100
35+
.fseventsd
36+
.Spotlight-V100
37+
.TemporaryItems
38+
.Trashes
39+
.VolumeIcon.icns
40+
.com.apple.timemachine.donotpresent
41+
42+
# Directories potentially created on remote AFP share
43+
.AppleDB
44+
.AppleDesktop
45+
Network Trash Folder
46+
Temporary Items
47+
.apdisk
48+
49+
### vscode ###
50+
.vscode/*
51+
!.vscode/settings.json
52+
!.vscode/tasks.json
53+
!.vscode/launch.json
54+
!.vscode/extensions.json
55+
*.code-workspace
56+
57+
### Windows ###
58+
# Windows thumbnail cache files
59+
Thumbs.db
60+
Thumbs.db:encryptable
61+
ehthumbs.db
62+
ehthumbs_vista.db
63+
64+
# Dump file
65+
*.stackdump
66+
67+
# Folder config file
68+
[Dd]esktop.ini
69+
70+
# Recycle Bin used on file shares
71+
$RECYCLE.BIN/
72+
73+
# Windows Installer files
74+
*.cab
75+
*.msi
76+
*.msix
77+
*.msm
78+
*.msp
79+
80+
# Windows shortcuts
81+
*.lnk
82+
83+
# End of https://www.toptal.com/developers/gitignore/api/windows,macos,linux,vscode
16.1 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
1989 0.1 0.3 0.2
2+
1990 0.2 0.15 0.1
3+
1991 0.2 0.1 0.34
4+
1992 0.05 0.2 0.22
5+
1993 0.15 0.1 0.1
6+
1994 0.3 0.13 0.35
7+
1995 0.1 0.2 0.2
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
set terminal pdfcairo enhanced dashed size 4, 8;
2+
3+
set output "basic-bar.pdf"
4+
5+
unset key
6+
7+
set style data histogram
8+
set style histogram cluster gap 1
9+
set style fill solid
10+
set boxwidth 0.9
11+
12+
set ylabel "Title"
13+
14+
set yrange [0: 0.4];
15+
set y2range [0: 0.4];
16+
set y2label rotate "Y Values"
17+
set y2tics 0.05 rotate scale 0
18+
set xtics nomirror rotate scale 0
19+
20+
COLOR_2="#9E77A1"
21+
COLOR_3="#9A8FBB"
22+
COLOR_4="#8AA9C0"
23+
24+
set label 2 'alg1' at graph 0.05, 0.85 point lt rgb COLOR_2 pt 1 ps 1 left rotate by 90
25+
set label 3 'alg2' at graph 0.10, 0.85 point lt rgb COLOR_3 pt 1 ps 1 left rotate by 90
26+
set label 4 'alg4' at graph 0.15, 0.85 point lt rgb COLOR_4 pt 1 ps 1 left rotate by 90
27+
28+
set datafile separator " "
29+
30+
set format y ""
31+
set grid
32+
33+
set bmargin 6
34+
35+
plot "data.txt" using 2:xtic(1) title "Alg1" linecolor rgb COLOR_2, \
36+
"" using 3 title "Alg2" linecolor rgb COLOR_3, \
37+
"" using 4 title "Alg3" linecolor rgb COLOR_4, \
38+
39+
17.6 KB
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
inst1 4 8 3 6
2+
inst2 10 12 6 12
3+
inst3 8 10 6 7
4+
inst4 6 9 5 10
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
set terminal pdfcairo enhanced dashed size 8, 4;
2+
3+
set output "basic-column.pdf"
4+
5+
set title "Title"
6+
7+
set style data histogram
8+
set style histogram cluster gap 1
9+
set style fill solid
10+
set boxwidth 0.9
11+
12+
set yrange [0:13]
13+
set ytics 1
14+
set ylabel "Y label"
15+
16+
set datafile separator " "
17+
18+
set grid
19+
20+
plot "data.txt" using 2:xtic(1) title "Alg1" linecolor rgb "#9E77A1", \
21+
'' using 3 title "Alg2" linecolor rgb "#9A8FBB", \
22+
'' using 4 title "Alg3" linecolor rgb "#8AA9C0", \
23+
'' using 5 title "Alg4" linecolor rgb "#7BC1BF", \
24+
'' using 0:2:2 with labels left offset -8,1 notitle, \
25+
'' using 0:3:3 with labels left offset -3,1 notitle
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
inst1 4 8 3 6
2+
inst2 10 -12 6 12
3+
inst3 8 10 6 7
4+
inst4 6 -9 5 10
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
set terminal pdfcairo enhanced dashed size 8, 4;
2+
3+
set output "column-with-negative-values.pdf"
4+
5+
set title "Title"
6+
7+
set style data histogram
8+
set style histogram cluster gap 1
9+
set style fill solid
10+
set boxwidth 0.9
11+
12+
set yrange [-14:14]
13+
set ytics 1
14+
set ylabel "Y label"
15+
16+
set datafile separator " "
17+
18+
set grid
19+
20+
plot "data.txt" using 2:xtic(1) title "Alg1" linecolor rgb "#9E77A1", \
21+
'' using 3 title "Alg2" linecolor rgb "#9A8FBB", \
22+
'' using 4 title "Alg3" linecolor rgb "#8AA9C0", \
23+
'' using 5 title "Alg4" linecolor rgb "#7BC1BF"

0 commit comments

Comments
 (0)