PHD Project - Driver energy prediction
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

259 lines
4.1 KiB

% This file was created by matlab2tikz.
%
\definecolor{mycolor1}{rgb}{0.10000,0.42000,0.68000}%
\definecolor{mycolor2}{rgb}{0.46600,0.67400,0.18800}%
\definecolor{mycolor3}{rgb}{0.85000,0.32500,0.09800}%
%
\begin{tikzpicture}
\begin{axis}[%
width=0.951\figurewidth,
height=\figureheight,
at={(0\figurewidth,0\figureheight)},
scale only axis,
xmin=0,
xmax=360,
xlabel style={font=\color{white!15!black}},
xlabel={$\alpha_{k,i}$ {[\SI{}{\degree}]}},
ymin=1,
ymax=2,
ylabel style={font=\color{white!15!black}},
ylabel={Normalized cost $\tilde{J}_{j,i}/\min\tilde{J}_{j,i}$},
axis background/.style={fill=white},
axis x line*=bottom,
axis y line*=left,
legend style={legend cell align=left, align=left, draw=white!15!black}
]
\addplot [color=mycolor1]
table[row sep=crcr]{%
50 1.766\\
51 1.777\\
52 1.788\\
53 1.799\\
54 1.809\\
55 1.819\\
56 1.829\\
57 1.839\\
58 1.848\\
59 1.857\\
60 1.866\\
61 1.875\\
62 1.883\\
63 1.891\\
64 1.899\\
65 1.906\\
66 1.914\\
67 1.921\\
68 1.927\\
69 1.934\\
70 1.94\\
71 1.946\\
72 1.951\\
73 1.956\\
74 1.961\\
75 1.966\\
76 1.97\\
77 1.974\\
78 1.978\\
79 1.982\\
80 1.985\\
81 1.988\\
82 1.99\\
83 1.993\\
84 1.995\\
85 1.996\\
86 1.998\\
87 1.999\\
88 1.999\\
89 2\\
90 2\\
91 2\\
92 1.999\\
93 1.999\\
94 1.998\\
95 1.996\\
96 1.995\\
97 1.993\\
98 1.99\\
99 1.988\\
100 1.985\\
101 1.982\\
102 1.978\\
103 1.974\\
104 1.97\\
105 1.966\\
106 1.961\\
107 1.956\\
108 1.951\\
109 1.946\\
110 1.94\\
111 1.934\\
112 1.927\\
113 1.921\\
114 1.914\\
115 1.906\\
116 1.899\\
117 1.891\\
118 1.883\\
119 1.875\\
120 1.866\\
121 1.857\\
122 1.848\\
123 1.839\\
124 1.829\\
125 1.819\\
126 1.809\\
127 1.799\\
128 1.788\\
129 1.777\\
130 1.766\\
131 1.755\\
132 1.743\\
133 1.731\\
134 1.719\\
135 1.707\\
136 1.695\\
137 1.682\\
138 1.669\\
139 1.656\\
140 1.643\\
141 1.629\\
142 1.616\\
143 1.602\\
144 1.588\\
145 1.574\\
146 1.559\\
147 1.545\\
148 1.53\\
149 1.515\\
150 1.5\\
151 1.485\\
152 1.469\\
153 1.454\\
154 1.438\\
155 1.423\\
156 1.407\\
157 1.391\\
158 1.375\\
159 1.358\\
160 1.342\\
161 1.326\\
162 1.309\\
163 1.292\\
164 1.276\\
165 1.259\\
166 1.242\\
167 1.225\\
168 1.208\\
169 1.191\\
170 1.174\\
171 1.156\\
172 1.139\\
173 1.122\\
174 1.105\\
175 1.087\\
176 1.07\\
177 1.052\\
178 1.035\\
179 1.017\\
180 1\\
};
\addlegendentry{data1}
\addplot [color=gray, dashed]
table[row sep=crcr]{%
50 1\\
50 2\\
};
\addlegendentry{data2}
\addplot [color=gray, dashed]
table[row sep=crcr]{%
180 1\\
180 2\\
};
\addlegendentry{data3}
\node[above right, align=left, rotate=90]
at (axis cs:49.9,1.3) {Infeasible\\Region};
\node[below right, align=left, rotate=90]
at (axis cs:180.1,1.3) {Infeasible\\Region};
\addplot [color=mycolor2, draw=none, mark=o, mark options={solid, mycolor2}]
table[row sep=crcr]{%
180 1\\
};
\addlegendentry{data4}
\addplot [color=mycolor3, draw=none, mark=o, mark options={solid, mycolor3}]
table[row sep=crcr]{%
50 1.766\\
};
\addlegendentry{data5}
\addplot [color=darkgray]
table[row sep=crcr]{%
180 1\\
185 1.12\\
};
\addlegendentry{data6}
\node[right, align=left]
at (axis cs:182,1.17) {Global\\Minimum};
\node[right, align=left]
at (axis cs:50.02,1.696) {Local\\Minimum};
\addplot [color=darkgray]
table[row sep=crcr]{%
0 1\\
6 1.12\\
};
\addlegendentry{data7}
\node[right, align=left]
at (axis cs:0,1.14) {$\alpha_{\text{init},0}$};
\addplot [color=darkgray]
table[row sep=crcr]{%
60 1\\
60 1.06\\
};
\addlegendentry{data8}
\node[align=center]
at (axis cs:60,1.08) {$\alpha_{\text{init},1}$};
\addplot [color=darkgray]
table[row sep=crcr]{%
120 1\\
120 1.06\\
};
\addlegendentry{data9}
\node[align=center]
at (axis cs:120,1.08) {$\alpha_{\text{init},2}$};
\addplot [color=darkgray]
table[row sep=crcr]{%
180 1\\
160 1.12\\
};
\addlegendentry{data10}
\node[left, align=right]
at (axis cs:166,1.14) {$\alpha_{\text{init},3}$};
\addplot [color=darkgray]
table[row sep=crcr]{%
240 1\\
260 1.12\\
};
\addlegendentry{data11}
\node[right, align=left]
at (axis cs:254,1.14) {$\alpha_{\text{init},4}$};
\addplot [color=darkgray]
table[row sep=crcr]{%
300 1\\
300 1.06\\
};
\addlegendentry{data12}
\node[align=center]
at (axis cs:300,1.08) {$\alpha_{\text{init},5}$};
\end{axis}
\end{tikzpicture}%