figure x1 = [0;0.153151250000000;0.205335000000000;0.251662500000000;0.294088750000000;0.331207500000000;0.363478750000000;0.395937500000000;0.432390000000000;0.469803750000000;0.505145000000000;0.537587500000000;0.569262500000000;0.599937500000000;0.629712500000000;0.658225000000000;0.685412500000000;0.711162500000000;0.734712500000000;0.755450000000000;0.773887500000000;0.789975000000000;0.803625000000000;0.815075000000000;0.825600000000000;0.835000000000000;0.843187500000000;0.850100000000000;0.856537500000000;0.862412500000000;0.868025000000000;0.872700000000000;0.876200000000000;0.879450000000000;0.882687500000000;0.886212500000000;0.889900000000000;0.893625000000000;0.897275000000000;0.900687500000000;0.904212500000000;0.907875000000000;0.911625000000000;0.915225000000000;0.918250000000000;0.921375000000000;0.924312500000000;0.926862500000000;0.929112500000000;0.931162500000000;0.933587500000000;0.936225000000000;0.939300000000000;0.942175000000000;0.944862500000000;0.947475000000000;0.950200000000000;0.952762500000000;0.955237500000000;0.957375000000000;0.959425000000000;0.961187500000000;0.962787500000000;0.964525000000000;0.966475000000000;0.968462500000000;0.969975000000000;0.971375000000000;0.972550000000000;0.973587500000000;0.974662500000000;0.975800000000000;0.976925000000000;0.978425000000000;0.980437500000000;0.982437500000000;0.984300000000000;0.986125000000000;0.988487500000000;0.990475000000000;0.992362500000000;0.994112500000000;0.995800000000000;0.997225000000000;0.999100000000000;1.00085000000000;1.00255000000000;1.00416250000000;1.00552500000000;1.00728750000000;1.00908750000000;1.01047500000000;1.01220000000000;1.01372500000000;1.01500000000000;1.01615000000000;1.01745000000000;1.01982500000000;1.02345000000000]; y1 = [0;0.120000000000000;0.240000000000000;0.360000000000000;0.480000000000000;0.600000000000000;0.720000000000000;0.840000000000000;0.960000000000000;1.08000000000000;1.20000000000000;1.32000000000000;1.44000000000000;1.56000000000000;1.68000000000000;1.80000000000000;1.92000000000000;2.04000000000000;2.16000000000000;2.28000000000000;2.40000000000000;2.52000000000000;2.64000000000000;2.76000000000000;2.88000000000000;3;3.12000000000000;3.24000000000000;3.36000000000000;3.48000000000000;3.60000000000000;3.72000000000000;3.84000000000000;3.96000000000000;4.08000000000000;4.20000000000000;4.32000000000000;4.44000000000000;4.56000000000000;4.68000000000000;4.80000000000000;4.92000000000000;5.04000000000000;5.16000000000000;5.28000000000000;5.40000000000000;5.52000000000000;5.64000000000000;5.76000000000000;5.88000000000000;6;6.12000000000000;6.24000000000000;6.36000000000000;6.48000000000000;6.60000000000000;6.72000000000000;6.84000000000000;6.96000000000000;7.08000000000000;7.20000000000000;7.32000000000000;7.44000000000000;7.56000000000000;7.68000000000000;7.80000000000000;7.92000000000000;8.04000000000000;8.16000000000000;8.28000000000000;8.40000000000000;8.52000000000000;8.64000000000000;8.76000000000000;8.88000000000000;9;9.12000000000000;9.24000000000000;9.36000000000000;9.48000000000000;9.60000000000000;9.72000000000000;9.84000000000000;9.96000000000000;10.0800000000000;10.2000000000000;10.3200000000000;10.4400000000000;10.5600000000000;10.6800000000000;10.8000000000000;10.9200000000000;11.0400000000000;11.1600000000000;11.2800000000000;11.4000000000000;11.5200000000000;11.6400000000000;11.7600000000000]; x2 = [0.0777896548000000;0.117441119100000;0.136410378000000;0.155062622000000;0.170902146400000;0.186264575800000;0.200943125800000;0.214498311100000;0.228040504000000;0.240280720800000;0.253251316100000;0.265075160400000;0.279128502000000;0.291766149800000;0.307805894000000;0.321243258600000;0.339631551700000;0.350358563100000;0.368350177400000;0.378223656000000;0.393932230500000;0.404547233700000;0.418630594600000;0.429952521600000;0.443084291200000;0.454787511200000;0.467882560100000;0.480278070400000;0.493169001700000;0.505503721200000;0.517968022800000;0.530011507200000;0.542138142900000;0.553760536500000;0.565180932300000;0.576223932800000;0.586929882800000;0.597197441700000;0.607137318300000;0.616637094100000;0.625773697900000;0.634511845100000;0.642842440900000;0.650795026000000;0.658415552500000;0.665775820500000;0.672850734200000;0.679596871500000;0.686071535900000;0.692312131800000;0.698340267600000;0.704072997100000;0.709629371700000;0.715058283900000;0.720326432200000;0.725440723000000;0.730356230000000;0.735195013300000;0.739922267100000;0.744508724200000;0.748973531300000;0.753201397900000;0.757319923200000;0.761337449500000;0.765227650300000;0.769012270600000;0.772743143400000;0.776376299500000;0.779892113800000;0.783336196200000;0.786708205000000;0.790085479100000;0.793342607600000;0.796454836600000;0.799457177200000;0.802401257000000;0.805210421000000;0.807937937900000;0.810704979000000;0.813392766500000;0.816023797700000;0.818595884400000;0.821126463700000;0.823613210800000;0.826055441800000;0.828514426100000;0.830980727200000;0.833437249800000;0.835838520500000;0.838210524100000;0.840544302600000;0.842868507800000;0.845208987700000;0.847522115100000;0.849851038600000;0.852196031700000;0.854570086700000;0.856905232800000;0.859178220600000;0.861516580600000;0.863846735000000;0.866176137100000;0.868457399000000;0.870707479100000;0.872941626300000;0.875193210800000;0.877449445200000;0.879692892300000;0.881878215500000;0.884138484300000;0.886415164600000;0.888697247100000;0.890912794700000;0.893168755500000;0.895402834400000;0.897656949000000;0.899877898700000;0.902197043700000;0.904522069500000;0.906846274600000;0.909166787200000;0.911478205200000;0.913798786200000;0.916060559400000;0.918294228000000;0.920462455900000;0.922626102300000;0.924798433000000;0.926985465700000;0.929126614700000;0.931268994600000;0.933379782300000;0.935513682900000;0.937601426300000;0.939685818900000;0.941763305100000;0.943794634100000;0.945806406000000;0.947790825500000;0.949782014700000;0.951759869600000;0.953718030800000;0.955654378400000;0.957575750500000;0.959474351800000;0.961339719800000;0.963223482300000;0.965087756200000;0.966918796900000;0.968758180100000;0.970569663800000;0.972340255600000;0.974076930400000;0.975823930700000;0.977506789600000;0.979185887500000;0.980812468700000;0.982406842400000;0.983951708200000;0.985478726500000;0.987000684600000;0.988485033200000;0.989929652300000;0.991338166100000;0.992716934300000;0.994060075800000;0.995338802400000;0.996550720600000;0.997718396200000;0.998849693100000;0.999948372300000;1.00100041550000;1.00198134240000;1.00291809500000;1.00381511830000;1.00464533320000;1.00538822550000;1.00604358990000;1.00663618050000;1.00714808150000;1.00762476610000;1.00801070900000;1.00827151450000;1.00840690910000;1.00845764790000;1.00839220720000;1.00816360920000;1.00776891350000;1.00713009720000;1.00605589850000;1.00420119800000;1.00016527710000]; y2 = [0.0312500000000000;0.0937500000000000;0.156250000000000;0.218750000000000;0.281250000000000;0.343750000000000;0.406250000000000;0.468750000000000;0.531250000000000;0.593750000000000;0.656250000000000;0.718750000000000;0.781250000000000;0.843750000000000;0.906250000000000;0.968750000000000;1.03125000000000;1.09375000000000;1.15625000000000;1.21875000000000;1.28125000000000;1.34375000000000;1.40625000000000;1.46875000000000;1.53125000000000;1.59375000000000;1.65625000000000;1.71875000000000;1.78125000000000;1.84375000000000;1.90625000000000;1.96875000000000;2.03125000000000;2.09375000000000;2.15625000000000;2.21875000000000;2.28125000000000;2.34375000000000;2.40625000000000;2.46875000000000;2.53125000000000;2.59375000000000;2.65625000000000;2.71875000000000;2.78125000000000;2.84375000000000;2.90625000000000;2.96875000000000;3.03125000000000;3.09375000000000;3.15625000000000;3.21875000000000;3.28125000000000;3.34375000000000;3.40625000000000;3.46875000000000;3.53125000000000;3.59375000000000;3.65625000000000;3.71875000000000;3.78125000000000;3.84375000000000;3.90625000000000;3.96875000000000;4.03125000000000;4.09375000000000;4.15625000000000;4.21875000000000;4.28125000000000;4.34375000000000;4.40625000000000;4.46875000000000;4.53125000000000;4.59375000000000;4.65625000000000;4.71875000000000;4.78125000000000;4.84375000000000;4.90625000000000;4.96875000000000;5.03125000000000;5.09375000000000;5.15625000000000;5.21875000000000;5.28125000000000;5.34375000000000;5.40625000000000;5.46875000000000;5.53125000000000;5.59375000000000;5.65625000000000;5.71875000000000;5.78125000000000;5.84375000000000;5.90625000000000;5.96875000000000;6.03125000000000;6.09375000000000;6.15625000000000;6.21875000000000;6.28125000000000;6.34375000000000;6.40625000000000;6.46875000000000;6.53125000000000;6.59375000000000;6.65625000000000;6.71875000000000;6.78125000000000;6.84375000000000;6.90625000000000;6.96875000000000;7.03125000000000;7.09375000000000;7.15625000000000;7.21875000000000;7.28125000000000;7.34375000000000;7.40625000000000;7.46875000000000;7.53125000000000;7.59375000000000;7.65625000000000;7.71875000000000;7.78125000000000;7.84375000000000;7.90625000000000;7.96875000000000;8.03125000000000;8.09375000000000;8.15625000000000;8.21875000000000;8.28125000000000;8.34375000000000;8.40625000000000;8.46875000000000;8.53125000000000;8.59375000000000;8.65625000000000;8.71875000000000;8.78125000000000;8.84375000000000;8.90625000000000;8.96875000000000;9.03125000000000;9.09375000000000;9.15625000000000;9.21875000000000;9.28125000000000;9.34375000000000;9.40625000000000;9.46875000000000;9.53125000000000;9.59375000000000;9.65625000000000;9.71875000000000;9.78125000000000;9.84375000000000;9.90625000000000;9.96875000000000;10.0312500000000;10.0937500000000;10.1562500000000;10.2187500000000;10.2812500000000;10.3437500000000;10.4062500000000;10.4687500000000;10.5312500000000;10.5937500000000;10.6562500000000;10.7187500000000;10.7812500000000;10.8437500000000;10.9062500000000;10.9687500000000;11.0312500000000;11.0937500000000;11.1562500000000;11.2187500000000;11.2812500000000;11.3437500000000;11.4062500000000;11.4687500000000;11.5312500000000;11.5937500000000;11.6562500000000;11.7187500000000;11.7812500000000;11.8437500000000;11.9062500000000;11.9687500000000]; x3 = [0.258000000000000;0.278000000000000;0.272000000000000;0.343000000000000;0.366000000000000;0.399000000000000;0.389000000000000;0.401000000000000;0.425000000000000;0.439000000000000;0.448000000000000;0.499000000000000;0.634000000000000;0.702000000000000]; y3 = [0.442857142900000;0.500000000000000;0.557142857100000;0.714285714300000;0.857142857100000;0.957142857100000;1;1.04285714290000;1.08571428570000;1.12857142860000;1.21428571430000;1.42857142860000;2;2.50000000000000]; x4 = [0.714697406300000;0.776176753100000;0.815561959700000;0.859750240200000;0.903938520700000;0.934678194000000;0.960614793500000;0.983669548500000;0.994236311200000]; y4 = [2.78571428570000;3.42857142860000;4.28571428570000;5.28571428570000;6.42857142860000;7.85714285710000;9.28571428570000;10.7142857143000;12.1428571429000]; plot(x1,y1,'k',x2,y2,'-.k', x3,y3,'ok',x4,y4,'ok','LineWidth',1.2) strx='$$\overline{U}/U_{ref}$$'; xlabel(strx,'interpreter','latex','FontSize',18); stry='$$y/h$$'; ylabel(stry,'interpreter','latex','FontSize',18); legend({'inflow','periodic', 'wind-tunnel'},'interpreter','latex','FontSize',18,'Location','northwest'); legend boxoff; set(gca,'XTickLabel',num2str(get(gca,'XTick').'))