forked from Remz-Jay/vim-config
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gnuplot
106 lines (87 loc) · 3.53 KB
/
.gnuplot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Set colors
red_000 = "#F9B7B0"
red_025 = "#33cb4b16"
red_050 = "#E62B17"
red_075 = "#8F463F"
red_100 = "#6D0D03"
blue_000 = "#A9BDE6"
blue_025 = "#0d73cc"
blue_050 = "#1D4599"
blue_075 = "#2F3F60"
blue_100 = "#031A49"
green_000 = "#A6EBB5"
green_025 = "#3eb53e"
green_050 = "#11AD34"
green_075 = "#2F6C3D"
green_100 = "#025214"
brown_000 = "#F9E0B0"
brown_025 = "#33ffaf5f"
brown_050 = "#E69F17"
brown_075 = "#8F743F"
brown_100 = "#6D4903"
grid_color = "#333333"
text_color = "#586e75"
#text_color = "#c0c0c0"
# Set the font
my_font = "Fira Sans Book, 13"
#my_font = "Comic Neue, 13"
#my_font = "Ubuntu, 13"
my_font_title = "Ubuntu, 13"
# Some variables
my_line_width = 2
my_axis_width = 1
my_ps = 1
resolution_x = 1024
resolution_y = 768
my_grid_width = 1
# define the font for the terminal
set terminal pngcairo enhanced size resolution_x, resolution_y enhanced font my_font
# Define the position of the legend
set key top left
# set default point size
set pointsize my_ps
# FIXME use palette? http://www.gnuplotting.org/tag/linestyle/
# Set the line styles
set style line 1 linecolor rgbcolor blue_025 linewidth my_line_width pt 7
set style line 2 linecolor rgbcolor green_025 linewidth my_line_width pt 5
set style line 3 linecolor rgbcolor red_025 linewidth my_line_width pt 9
set style line 4 linecolor rgbcolor brown_025 linewidth my_line_width pt 13
set style line 5 linecolor rgbcolor blue_050 linewidth my_line_width pt 11
set style line 6 linecolor rgbcolor green_050 linewidth my_line_width pt 7
set style line 7 linecolor rgbcolor red_050 linewidth my_line_width pt 5
set style line 8 linecolor rgbcolor brown_050 linewidth my_line_width pt 9
set style line 9 linecolor rgbcolor blue_075 linewidth my_line_width pt 13
set style line 10 linecolor rgbcolor green_075 linewidth my_line_width pt 11
set style line 11 linecolor rgbcolor red_075 linewidth my_line_width pt 7
set style line 12 linecolor rgbcolor brown_075 linewidth my_line_width pt 5
set style line 13 linecolor rgbcolor blue_100 linewidth my_line_width pt 9
set style line 14 linecolor rgbcolor green_100 linewidth my_line_width pt 13
set style line 15 linecolor rgbcolor red_100 linewidth my_line_width pt 11
set style line 16 linecolor rgbcolor brown_100 linewidth my_line_width pt 7
set style line 17 linecolor rgbcolor text_color linewidth my_line_width pt 5
set style line 18 linecolor rgbcolor grid_color lt 1 linewidth my_axis_width
set style line 19 linecolor rgbcolor grid_color lt 0 linewidth my_grid_width
# this is to use the user-defined styles we just defined.
set style increment user
# set the color and font of the text of the axis
set xtics textcolor rgb text_color font my_font
set ytics textcolor rgb text_color font my_font
set y2tics textcolor rgb text_color font my_font
set ztics textcolor rgb text_color font my_font
# set the color and font (and a default text) for the title and each axis
set title "Top Title" textcolor rgb text_color font my_font_title
set xlabel "X Label (unit)" textcolor rgb text_color font my_font
set ylabel "Y Label (unit)" textcolor rgb text_color font my_font
set y2label "Y Label (unit)" textcolor rgb text_color font my_font
set zlabel "Z Label (unit)" textcolor rgb text_color font my_font
# set the text color and font for the label
set label textcolor rgb text_color font my_font
set key textcolor rgb text_color font my_font
# set the color and width of the axis border
set border 31 lw my_axis_width lc rgb text_color
# Set the border color
set border 3 back ls 18
set tics nomirror
# Set a grid in the back ground
set grid back ls 19
set encoding utf8