diff --git a/statesControlsDiff.tex b/statesControlsDiff.tex index a440c742d8124f00457480ea8f8f782ee9865170..04c7ddb28e12ba8c05e7da1aa2bbbd10a5ef24cd 100644 --- a/statesControlsDiff.tex +++ b/statesControlsDiff.tex @@ -12,22 +12,19 @@ \usepackage{amsmath} \begin{document} -\definecolor{mycolor1}{rgb}{0.00000,0.44700,0.74100}% -\definecolor{mycolor2}{rgb}{0.85000,0.32500,0.09800}% -% \begin{tikzpicture} \begin{axis}[% -width=5.988in, +width=5.949in, height=3.462in, -at={(1.051in,1.933in)}, +at={(1.09in,1.933in)}, scale only axis, xmin=0, xmax=30, xlabel style={font=\color{white!15!black}}, xlabel={Time}, -ymin=0, -ymax=0.671339457501923, +ymin=-10, +ymax=10, axis background/.style={fill=white}, axis x line*=bottom, axis y line*=left, @@ -35,76 +32,342 @@ xmajorgrids, ymajorgrids, legend style={legend cell align=left, align=left, draw=white!15!black} ] -\addplot [color=mycolor1, line width=3.0pt, mark=o, mark options={solid, mycolor1}] + +\addplot[area legend, draw=none, fill=blue, fill opacity=0.33, forget plot] +table[row sep=crcr] {% +x y\\ +0 0\\ +1 -1.47188760973618\\ +2 -1.69307938453398\\ +3 -1.66268795453995\\ +4 -1.5674256970703\\ +5 -1.46130287648592\\ +6 -1.36118432593796\\ +7 -1.27105930554312\\ +8 -1.19147479852639\\ +9 -1.12110432725541\\ +10 -1.05824046956282\\ +11 -1.00176255900523\\ +12 -0.950820792181906\\ +13 -0.903678744003469\\ +14 -0.860138951854726\\ +15 -0.819359247889299\\ +16 -0.781219735972962\\ +17 -0.745209988006671\\ +18 -0.711337671493602\\ +19 -0.679188762073307\\ +20 -0.648568561179302\\ +21 -0.620088293997704\\ +22 -0.592667760067538\\ +23 -0.56670391128131\\ +24 -0.541827141439062\\ +25 -0.518788314709262\\ +26 -0.496703632493511\\ +27 -0.475829132005901\\ +28 -0.455867529221298\\ +29 -0.436887597129502\\ +30 -0.419019045314024\\ +30 0.629161407991708\\ +29 0.662186999020708\\ +28 0.697552114905807\\ +27 0.735438131211637\\ +26 0.775837361472526\\ +25 0.819087735274193\\ +24 0.865209791350978\\ +23 0.915213046319984\\ +22 0.968444343151765\\ +21 1.02546549498601\\ +20 1.0861977785506\\ +19 1.15168568722112\\ +18 1.22161079330834\\ +17 1.29621186804953\\ +16 1.37588427084389\\ +15 1.46044821873837\\ +14 1.55009693786598\\ +13 1.64448794278792\\ +12 1.74335899188285\\ +11 1.84540190461525\\ +10 1.94967416164479\\ +9 2.05314050524008\\ +8 2.15121310993575\\ +7 2.23704744055197\\ +6 2.29972164047153\\ +5 2.32169133958173\\ +4 2.27623099460024\\ +3 2.12044253399029\\ +2 1.78663663863387\\ +1 1.17191760973618\\ +0 0\\ +}--cycle; +\addplot [color=white!55!blue, forget plot] table[row sep=crcr]{% 0 0\\ -1 0.0868531450295933\\ -2 0.0592396129136521\\ -3 0.02292800642409\\ -4 0.00703726531601889\\ -5 0.00503407952286938\\ -6 0.00236484361248401\\ -7 0.00475517153609833\\ -8 0.00565861426749376\\ -9 0.00782849892357232\\ -10 0.00126563428970902\\ -11 0.0112219585042816\\ -12 0.0104068680524106\\ -13 0.000552262176294407\\ -14 0.00163248382029672\\ -15 0.00720819079010328\\ -16 0.00141424536453333\\ -17 0.003482126274788\\ -18 0.00484369925522417\\ -19 0.00718440982967506\\ -20 0.000222171329609193\\ -21 0.00427816915295266\\ -22 0.00330925101185076\\ -23 0.00167994312998794\\ -24 0.00352241622042904\\ -25 0.00073999741902124\\ -26 0.0022877917507506\\ -27 0.00079574438631666\\ -28 0.00901269252196008\\ -29 0.0122897150768699\\ -30 0.0128545299141771\\ +1 -1.47188760973618\\ +2 -1.69307938453398\\ +3 -1.66268795453995\\ +4 -1.5674256970703\\ +5 -1.46130287648592\\ +6 -1.36118432593796\\ +7 -1.27105930554312\\ +8 -1.19147479852639\\ +9 -1.12110432725541\\ +10 -1.05824046956282\\ +11 -1.00176255900523\\ +12 -0.950820792181906\\ +13 -0.903678744003469\\ +14 -0.860138951854726\\ +15 -0.819359247889299\\ +16 -0.781219735972962\\ +17 -0.745209988006671\\ +18 -0.711337671493602\\ +19 -0.679188762073307\\ +20 -0.648568561179302\\ +21 -0.620088293997704\\ +22 -0.592667760067538\\ +23 -0.56670391128131\\ +24 -0.541827141439062\\ +25 -0.518788314709262\\ +26 -0.496703632493511\\ +27 -0.475829132005901\\ +28 -0.455867529221298\\ +29 -0.436887597129502\\ +30 -0.419019045314024\\ }; -\addlegendentry{$\left \Vert x^{\dagger}_{1} - x^{\star}_{1} \right \|_{1}$: white noise $w$} +\addplot [color=white!55!blue, forget plot] + table[row sep=crcr]{% +0 0\\ +1 1.17191760973618\\ +2 1.78663663863387\\ +3 2.12044253399029\\ +4 2.27623099460024\\ +5 2.32169133958173\\ +6 2.29972164047153\\ +7 2.23704744055197\\ +8 2.15121310993575\\ +9 2.05314050524008\\ +10 1.94967416164479\\ +11 1.84540190461525\\ +12 1.74335899188285\\ +13 1.64448794278792\\ +14 1.55009693786598\\ +15 1.46044821873837\\ +16 1.37588427084389\\ +17 1.29621186804953\\ +18 1.22161079330834\\ +19 1.15168568722112\\ +20 1.0861977785506\\ +21 1.02546549498601\\ +22 0.968444343151765\\ +23 0.915213046319984\\ +24 0.865209791350978\\ +25 0.819087735274193\\ +26 0.775837361472526\\ +27 0.735438131211637\\ +28 0.697552114905807\\ +29 0.662186999020708\\ +30 0.629161407991708\\ +}; +\addplot [color=blue, line width=3.0pt] + table[row sep=crcr]{% +0 0\\ +1 -0.149985\\ +2 0.0467786270499419\\ +3 0.22887728972517\\ +4 0.354402648764972\\ +5 0.430194231547906\\ +6 0.469268657266782\\ +7 0.482994067504425\\ +8 0.479869155704677\\ +9 0.466018088992334\\ +10 0.445716846040985\\ +11 0.42181967280501\\ +12 0.396269099850474\\ +13 0.370404599392223\\ +14 0.344978993005629\\ +15 0.320544485424536\\ +16 0.297332267435464\\ +17 0.27550094002143\\ +18 0.255136560907371\\ +19 0.236248462573908\\ +20 0.218814608685651\\ +21 0.202688600494155\\ +22 0.187888291542114\\ +23 0.174254567519337\\ +24 0.161691324955958\\ +25 0.150149710282465\\ +26 0.139566864489508\\ +27 0.129804499602868\\ +28 0.120842292842255\\ +29 0.112649700945603\\ +30 0.105071181338842\\ +}; +\addlegendentry{$x^{\dagger} - x^{\star}$: white noise $w$} -\addplot [color=mycolor2, line width=3.0pt, mark=o, mark options={solid, mycolor2}] + +\addplot[area legend, draw=none, fill=red, fill opacity=0.33, forget plot] +table[row sep=crcr] {% +x y\\ +0 -7.01846253166949\\ +1 -5.38382253295612\\ +2 -3.96212233788245\\ +3 -2.94942629978462\\ +4 -2.23517343626306\\ +5 -1.72271029867083\\ +6 -1.34755817486401\\ +7 -1.06806683277571\\ +8 -0.857204718991648\\ +9 -0.697234895035674\\ +10 -0.573403090103039\\ +11 -0.478423731441354\\ +12 -0.398736265283362\\ +13 -0.338027113888764\\ +14 -0.288505674007264\\ +15 -0.250489712719287\\ +16 -0.221080024149331\\ +17 -0.196125293426817\\ +18 -0.17538331461919\\ +19 -0.159666758644105\\ +20 -0.15149045372223\\ +21 -0.138599182589504\\ +22 -0.130717957121051\\ +23 -0.126061996332163\\ +24 -0.121783119938881\\ +25 -0.118283997072175\\ +26 -0.115678621419303\\ +27 -0.113659512642462\\ +28 -0.111837690148309\\ +29 -0.109081672082184\\ +29 0.132501903925927\\ +28 0.13585000157712\\ +27 0.138151504476187\\ +26 0.141724401967647\\ +25 0.147935026985101\\ +24 0.154599365684449\\ +23 0.160770622292924\\ +22 0.17036225162726\\ +21 0.183163679451093\\ +20 0.203824786361516\\ +19 0.219486494662842\\ +18 0.243512049003737\\ +17 0.276553116032257\\ +16 0.316343283759897\\ +15 0.363963315967137\\ +14 0.422069920155558\\ +13 0.495851394805717\\ +12 0.584775858232542\\ +11 0.699377478710783\\ +10 0.835311975949552\\ +9 1.01086857263323\\ +8 1.23460397221276\\ +7 1.51730942708998\\ +6 1.87971946682264\\ +5 2.35211316243912\\ +4 2.97668556760491\\ +3 3.81229906239719\\ +2 4.95202668497371\\ +1 6.50160385851063\\ +0 8.35470564262199\\ +}--cycle; +\addplot [color=white!55!red, forget plot] + table[row sep=crcr]{% +0 -7.01846253166949\\ +1 -5.38382253295612\\ +2 -3.96212233788245\\ +3 -2.94942629978462\\ +4 -2.23517343626306\\ +5 -1.72271029867083\\ +6 -1.34755817486401\\ +7 -1.06806683277571\\ +8 -0.857204718991648\\ +9 -0.697234895035674\\ +10 -0.573403090103039\\ +11 -0.478423731441354\\ +12 -0.398736265283362\\ +13 -0.338027113888764\\ +14 -0.288505674007264\\ +15 -0.250489712719287\\ +16 -0.221080024149331\\ +17 -0.196125293426817\\ +18 -0.17538331461919\\ +19 -0.159666758644105\\ +20 -0.15149045372223\\ +21 -0.138599182589504\\ +22 -0.130717957121051\\ +23 -0.126061996332163\\ +24 -0.121783119938881\\ +25 -0.118283997072175\\ +26 -0.115678621419303\\ +27 -0.113659512642462\\ +28 -0.111837690148309\\ +29 -0.109081672082184\\ +}; +\addplot [color=white!55!red, forget plot] + table[row sep=crcr]{% +0 8.35470564262199\\ +1 6.50160385851063\\ +2 4.95202668497371\\ +3 3.81229906239719\\ +4 2.97668556760491\\ +5 2.35211316243912\\ +6 1.87971946682264\\ +7 1.51730942708998\\ +8 1.23460397221276\\ +9 1.01086857263323\\ +10 0.835311975949552\\ +11 0.699377478710783\\ +12 0.584775858232542\\ +13 0.495851394805717\\ +14 0.422069920155558\\ +15 0.363963315967137\\ +16 0.316343283759897\\ +17 0.276553116032257\\ +18 0.243512049003737\\ +19 0.219486494662842\\ +20 0.203824786361516\\ +21 0.183163679451093\\ +22 0.17036225162726\\ +23 0.160770622292924\\ +24 0.154599365684449\\ +25 0.147935026985101\\ +26 0.141724401967647\\ +27 0.138151504476187\\ +28 0.13585000157712\\ +29 0.132501903925927\\ +}; +\addplot [color=red, line width=3.0pt] table[row sep=crcr]{% -0 0.671339457501923\\ -1 0.398128632026763\\ -2 0.310036870303036\\ -3 0.166381340638015\\ -4 0.039000507659078\\ -5 0.0834422165888566\\ -6 0.057811668534194\\ -7 0.0181057442361426\\ -8 0.0574107908604506\\ -9 0.013241255703171\\ -10 0.120433896143466\\ -11 0.0744914873243598\\ -12 0.0848430154706912\\ -13 0.00567931865622329\\ -14 0.0637462109334223\\ -15 0.0192841692286815\\ -16 0.00688372173284261\\ -17 0.0103133763966439\\ -18 0.0108937827510889\\ -19 0.0843927763740942\\ -20 0.0831113094179744\\ -21 0.0068669195373595\\ -22 0.0134674527273368\\ -23 0.016933142888331\\ -24 0.0750133472681332\\ -25 0.0360956098994726\\ -26 0.0135630311919922\\ -27 0.120882226804632\\ -28 0.0631228360651968\\ -29 0.0658821454257002\\ +0 0.66812155547625\\ +1 0.558890662777253\\ +2 0.494952173545629\\ +3 0.431436381306285\\ +4 0.370756065670923\\ +5 0.314701431884147\\ +6 0.266080645979314\\ +7 0.224621297157136\\ +8 0.188699626610558\\ +9 0.156816838798779\\ +10 0.130954442923257\\ +11 0.110476873634714\\ +12 0.0930197964745901\\ +13 0.0789121404584767\\ +14 0.0667821230741468\\ +15 0.0567368016239254\\ +16 0.047631629805283\\ +17 0.0402139113027196\\ +18 0.0340643671922733\\ +19 0.0299098680093687\\ +20 0.026167166319643\\ +21 0.0222822484307942\\ +22 0.0198221472531045\\ +23 0.0173543129803809\\ +24 0.0164081228727844\\ +25 0.0148255149564628\\ +26 0.0130228902741721\\ +27 0.0122459959168624\\ +28 0.0120061557144052\\ +29 0.0117101159218717\\ }; -\addlegendentry{$\left \Vert u^{\dagger}_{1} - u^{\star}_{1} \right \|_{1}$: white noise $w$} +\addlegendentry{$u^{\dagger} - u^{\star}$: white noise $w$} \end{axis} \end{tikzpicture}%