How to display charts using curve fitting toolbox? Disappearing chart

2 views (last 30 days)
Hi!
I use curve fitting toolbox to make the chart. The problem is that it works only when I dipslay one chart, which is based on curve fitting. When I want to display more charts-the first one (curve fitting) always disappears - I get empty figure window. Where is the problem? (It's Linear Fitting in Curve Fitting Tool).
clc
clear all
close all
%% load
oTHDUmeanL1=[1.68 1.79 1.24 1.37 1.17 1.32 1.35 1.61 1.65 1.64 1.34 1.22 1.23 1.28 1.52 1.31 1.43 1.45 1.23 1.14 1.1 1.16 0.84 0.81 0.92 0.83 0.8 0.74 0.89 0.85 0.87 0.97 0.94 0.83 0.93 0.81 0.84 0.82 0.79 0.78 0.7 0.72 0.76 0.74 0.79 0.75 0.88 0.99 0.88 0.82 0.93 0.85 0.9 0.81 0.73 0.79 0.78 0.85 0.83 1.47 1.36 0.92 0.92 0.88 0.85 1.18 0.92 0.87 0.81 0.78 0.76 0.77 0.88 0.91 0.74 0.65 0.67 0.68 1.03 1.26 1.66 1.42 1.46 0.83 1.19 1.01 0.88 0.89 0.74 0.74 0.64 0.69 0.69 0.68 0.63 0.67 0.73 0.66 0.76 0.96 0.74 1 1.3 0.89 0.98 0.9 0.79 0.55 0.6 0.54 0.56 1 0.88 0.75 0.66 0.54 0.51 0.59 0.58 0.65 0.69 0.71 0.62 0.61 0.74 0.82 0.7 0.68 0.71 0.63 0.62 0.63 0.67 0.73 0.77 0.81 0.78 0.78 0.82 0.83 0.89 1.03 1 1.07 1.08 1.11 1.15 1.34 1.46 1.49 1.78 1.32 1.34 1.46 1.43 1.51 1.46 1.24 1.33 1.55 1.45 1.36 1.29 1.18 1.29 1.23 1.13 1.15 1.15 1.29 1.65 1.14 0.79 1.02 0.92 0.83 0.97 1.03 1 0.81 0.79 0.76 0.98 1 1.11 1.45 1.02 0.8 1.04 0.97 0.9 1.02 1.06 1.01 0.84 0.81 0.9 0.9 0.77 0.9 0.84 0.94 1.05 0.93 0.86 0.87 1.03 1.06 1.03 1.15 0.98 1.03 1.04 1.16 1.27 0.96 0.83 0.78 0.85 0.75 0.67 0.66 0.6 0.61 0.59 0.58 0.58 0.58 0.55 0.54 0.55 0.55 0.55 0.53 0.57 0.59 0.59 0.55 0.57 0.53 0.53 0.55 0.57 0.52 0.49 0.5 0.48 0.54 0.52 0.5 0.5 0.54 0.51 0.51 0.72 0.55 0.59 0.56 0.65 0.88 1.57 1.49 0.8 1.14 1.68 1.34 1.33 1.38 1.11 0.85 0.92 1.11 0.89 0.81 0.77 0.69 0.78 0.8 0.82 0.93 1.15 1.09 1.21 1.22 1.1 1.06 1.06 1.04 1.02 0.86 0.87 0.97 1.08 1.05 1.15 1.54 1.69 1.34 1.32 1.14 1.09 1.1 1.07 1.11 1.09 1.24 1.77 1.49 1.2 1.06 1.03 0.93 1.01 0.94 1.62 1.08 1.07 0.93 1.05 1.07 1.29 0.92 0.96 0.95 0.92 0.87 0.87 1 0.95 1.09 1.09 1.09 0.91 0.99 1.27 1.28 1.29 1.36 1.12 1.04 0.99 0.97 0.9 0.81 0.85 0.93 0.96 0.85 0.86 0.87 0.85 0.77 0.75 0.8 0.83 0.87 0.83 0.97 1.06 1.15 1.35 1.22 0.93 1 1.1 1.12 0.96 0.79 0.71 0.98 1.14 1.38 1.16 0.9 0.77 0.81 0.8 0.73 0.63 0.61 0.64 0.69 0.67 0.94 0.64 0.98 1.24 1.13 0.95 0.98 0.94 0.91 0.86 1.05 0.76 0.85 1.06 0.99 0.78 0.67 0.61 0.61 0.65 0.6 0.63 0.55 0.59 1.15 0.77 0.7 0.86 0.78 0.8 0.61 0.67 0.65 0.64 0.67 0.66 0.71 0.64 0.65 0.72 0.68 0.62 0.73 0.94 0.95 0.87 0.96 0.75 0.75 0.83 0.78 0.84 0.76 0.77 0.75 0.74 0.76 0.82 0.81 0.89 0.84 0.85 0.83 0.83 0.82 0.82 0.86 0.87 0.82 0.82 0.82 0.82 0.82 0.78 0.75 0.77 0.72 0.69 0.71 0.77 0.7 0.62 0.64 0.67 0.72 0.73 0.76 0.75 0.75 0.74 0.73 0.76 1.1 1.24 1.09 1.01 1.49 1.08 0.84 1.08 0.94 1 0.84 0.89 0.88 0.91 1.1 0.95 0.82 0.84 0.92 0.86 0.81 0.79 1.13 1.01 0.88 0.81 0.81 0.83 0.73 0.71 0.68 0.69 0.68 0.7 0.81 0.98 0.97 1.15 1.27 1.02 0.89 0.77 0.7 0.77 1.19 1.27 1 0.96 0.86 0.85 0.81 0.9 1.03 1.01 1.01 0.98 0.83 0.81 0.78 0.84 1.19 1.14 1.1 1.12 0.95 0.73 0.76 0.71 0.71 0.68 0.73 0.75 0.78 0.81 0.79 0.89 0.86 0.88 0.89 0.82 0.81 0.75 0.74 0.79 0.85 0.95 0.87 0.81 0.83 0.74 0.87 0.89 0.89 0.95 0.98 0.98 0.95 1.12 1.21 1.15 1.12 1.17 0.98 0.99 0.99 1.11 1.43 1.19 1.61 1.53 1.25 1.05 1.1 1.1 0.93 0.89 0.86 0.84 0.92 0.85 0.82 0.81 0.81 0.77 0.78 0.75 0.75 0.78 0.81 0.83 0.84 0.86 0.9 0.92 0.96 0.97 0.99 1.02 1.05 1.05 1.02 0.99 1 1.02 0.95 0.95 0.93 0.98 0.96 0.94 0.93 0.95 1.01 0.97 0.97 0.96 0.96 0.99 0.97 0.96 0.96 0.96 0.91 0.92 0.9 0.91 0.84 0.85 0.85 0.77 0.79 0.73 0.71 0.68 0.66 0.65 0.6 0.53 0.54 0.49 0.48 0.51 0.49 0.47 0.52 0.45 0.46 0.48 0.48 0.51 0.6 0.64 0.68 0.68 0.67 0.67 0.7 0.67 0.67 0.69 0.68 0.7 0.71 0.73 0.7 0.71 0.63 0.61 0.6 0.6 0.59 0.62 0.61 0.6 0.57 0.55 0.57 0.59 0.56 0.58 0.62 0.56 0.58 0.6 0.64 0.69 0.67 0.6 0.57 0.56 0.62 0.68 0.62 0.65 0.67 0.66 0.56 1.32 0.89 0.72 0.63 0.81 0.76 0.7 0.99 1.08 0.99 0.88 1.23 1.18 1.08 1.06 1.1 1.18 1.03 1.12 1.13 1.27 1.22 1.16 1.68 1.42 1.1 1.39 0.98 0.97 1.12 1.35 1.42 1 0.89 0.75 0.78 0.71 1.06 0.95 1.12 1.01 0.81 0.85 0.94 0.87 0.97 1.27 1.23 1.13 1.16 1.04 1.07 1.07 1.07 1.08 1.04 0.9 0.78 0.78 0.79 0.81 0.81 0.84 0.87 0.88 0.88 0.84 0.84 0.85 0.85 0.86 0.85 0.81 0.81 0.83 0.85 0.82 0.77 0.72 0.69 0.71 0.67 0.58 0.49 0.55 0.54 0.45 0.43 0.44 0.44 0.47 0.5 0.52 0.58 0.6 0.48 0.45 0.48 0.47 0.46 0.52 0.55 0.6 0.63 0.56 0.69 0.67 0.86 1.05 0.9 0.81 0.79 0.77 0.97 1.41 0.85 1 0.77 0.64 0.61 0.65 0.57 0.62 0.78 0.69 0.73 0.85 0.78 0.7 0.8 0.79 1 1.9 1.32 1.33 2.12 1.08 1.46 1.8 1.18 1.13 1.19 1.02 0.84 0.89 0.83 0.7 0.74 0.89 1.17 1.09 0.82 0.81 0.82 0.67 0.97 1.01 0.95 1.11 1.29 1.34 1.33 1.45 1.21 0.98 1.04 1.44 1.3 1.4 1.72 1.9 1.61 1.6 1.31 1.22 1.18 0.93 1.06 0.93 0.93 0.97 1.14 1.11 1.16 1.16 1.05 1.06 1.12 1 0.98 0.97 0.93 0.91 0.95 0.92 0.92 1.19 1.19 1.2 0.98 0.9 0.94 0.98 1.24 1.16 1.13 1.03 1.01 1.14 1.11 1.07 0.98 1.01 0.94 0.99 1.06 1.23 1.15 0.96 1.05 1.04 0.91 0.89 0.94 0.94 0.97 1.76 1.28 1.07 0.76 0.83 0.8 1.25 1.32 1.24 1.29 0.99 1.24 1.56 1.33 1.24 1.21 1.36 1.2 1.14 1.12 1.01 1.16 1.2 1.72 1.41 1.16 1.3 1.74 1.82 1.63 1.45 1.17 1.28 1.6 1.43 1.33 1.04 1.18 1.18 1.18 0.9 1.12 1.22 1.21 1.2 1.17 1.07 0.73 0.67 0.74 0.74 0.72 0.8 0.94 1.49 1.39 1.12 1.98 1.43 1.12 1.25 1.14 1.05 0.96 1.09 1.16 1.5 1.28 1.52 1.6];
oTHDUmeanL2=[1.68 1.8 1.23 1.36 1.17 1.32 1.35 1.62 1.64 1.62 1.28 1.15 1.14 1.23 1.48 1.28 1.38 1.4 1.21 1.1 1.07 1.12 0.83 0.8 0.88 0.8 0.78 0.7 0.86 0.8 0.82 0.94 0.9 0.77 0.86 0.73 0.73 0.7 0.68 0.73 0.63 0.66 0.7 0.67 0.71 0.67 0.82 0.94 0.82 0.76 0.88 0.8 0.83 0.75 0.66 0.71 0.72 0.8 0.76 1.45 1.39 0.87 0.87 0.83 0.77 1.14 0.83 0.78 0.72 0.7 0.65 0.72 0.82 0.83 0.63 0.51 0.54 0.53 0.95 1.19 1.59 1.36 1.39 0.71 1.12 0.92 0.77 0.76 0.61 0.61 0.5 0.57 0.56 0.54 0.51 0.56 0.64 0.56 0.65 0.86 0.6 0.89 1.18 0.78 0.91 0.82 0.7 0.45 0.5 0.43 0.45 0.94 0.8 0.65 0.54 0.41 0.37 0.48 0.49 0.59 0.66 0.67 0.59 0.58 0.71 0.79 0.66 0.65 0.69 0.63 0.63 0.61 0.66 0.71 0.72 0.77 0.73 0.73 0.75 0.76 0.82 0.99 0.97 1.04 1.1 1.12 1.15 1.34 1.44 1.47 1.75 1.3 1.31 1.43 1.37 1.42 1.37 1.17 1.29 1.52 1.44 1.34 1.29 1.2 1.31 1.24 1.14 1.16 1.15 1.27 1.63 1.1 0.76 0.99 0.88 0.78 0.92 0.99 0.95 0.73 0.72 0.67 0.92 0.94 1.09 1.43 0.97 0.73 0.99 0.91 0.83 0.96 1.02 0.96 0.78 0.74 0.84 0.84 0.7 0.84 0.77 0.88 1 0.88 0.79 0.78 0.96 0.99 0.97 1.09 0.89 0.94 0.94 1.07 1.21 0.9 0.71 0.64 0.73 0.6 0.53 0.51 0.43 0.45 0.42 0.43 0.42 0.4 0.38 0.41 0.38 0.4 0.43 0.41 0.47 0.48 0.48 0.48 0.5 0.44 0.52 0.54 0.54 0.5 0.43 0.47 0.46 0.5 0.5 0.48 0.45 0.5 0.48 0.52 0.7 0.57 0.57 0.51 0.61 0.85 1.5 1.42 0.79 1.09 1.62 1.3 1.3 1.36 1.09 0.82 0.9 1.09 0.86 0.78 0.72 0.66 0.76 0.77 0.77 0.84 1.11 1.1 1.21 1.22 1.11 1.09 1.1 1.06 1.02 0.89 0.9 0.99 1.07 1.04 1.14 1.51 1.69 1.29 1.23 1.09 1.07 1.07 1.04 1.09 1.07 1.24 1.77 1.49 1.11 0.98 0.97 0.87 1 0.94 1.62 1.07 1.07 0.93 1.07 1.08 1.28 0.9 0.93 0.92 0.85 0.79 0.78 0.94 0.88 1.04 1.03 1.04 0.83 0.93 1.23 1.24 1.26 1.33 1.08 0.99 0.92 0.9 0.82 0.73 0.76 0.87 0.91 0.8 0.8 0.8 0.79 0.71 0.67 0.74 0.76 0.78 0.75 0.91 1.01 1.18 1.39 1.24 0.9 0.96 1.07 1.11 0.92 0.74 0.62 0.94 1.12 1.36 1.12 0.84 0.71 0.72 0.7 0.65 0.54 0.48 0.52 0.59 0.58 0.89 0.57 0.96 1.22 1.12 0.91 0.95 0.92 0.88 0.82 1.01 0.72 0.82 1.04 0.96 0.73 0.63 0.56 0.55 0.62 0.55 0.62 0.5 0.57 1.15 0.78 0.71 0.87 0.8 0.82 0.62 0.71 0.69 0.67 0.7 0.7 0.77 0.7 0.71 0.77 0.73 0.65 0.76 0.96 0.98 0.9 0.98 0.8 0.78 0.87 0.84 0.88 0.82 0.81 0.8 0.73 0.72 0.78 0.74 0.81 0.76 0.74 0.73 0.7 0.71 0.72 0.79 0.79 0.75 0.79 0.75 0.76 0.78 0.74 0.73 0.75 0.71 0.71 0.72 0.78 0.71 0.6 0.64 0.67 0.71 0.7 0.73 0.69 0.73 0.71 0.69 0.73 1.08 1.21 1.06 0.98 1.5 1.06 0.78 1.03 0.86 0.92 0.75 0.78 0.78 0.83 1.03 0.87 0.74 0.76 0.85 0.8 0.72 0.72 1.07 0.94 0.79 0.73 0.74 0.78 0.67 0.63 0.61 0.6 0.57 0.62 0.74 0.95 0.93 1.11 1.24 0.98 0.83 0.68 0.6 0.69 1.15 1.24 0.94 0.9 0.77 0.72 0.67 0.8 0.95 0.91 0.93 0.91 0.72 0.7 0.66 0.74 1.12 1.08 1.03 1.07 0.86 0.57 0.62 0.56 0.55 0.55 0.59 0.62 0.66 0.71 0.67 0.77 0.76 0.78 0.78 0.7 0.71 0.65 0.65 0.68 0.75 0.87 0.78 0.74 0.79 0.69 0.98 0.99 0.97 1.06 1.05 1.06 1.04 1.23 1.32 1.28 1.23 1.3 1.11 1.12 1.13 1.24 1.55 1.33 1.74 1.65 1.4 1.16 1.16 1.16 1 0.96 0.95 0.93 1 0.9 0.87 0.9 0.88 0.84 0.85 0.8 0.8 0.83 0.85 0.87 0.87 0.9 0.9 0.93 0.94 0.95 0.95 0.98 1 1 0.99 0.96 0.96 0.98 0.92 0.93 0.9 0.94 0.92 0.92 0.89 0.92 0.97 0.93 0.94 0.93 0.91 0.95 0.93 0.92 0.93 0.94 0.87 0.88 0.88 0.89 0.81 0.81 0.8 0.7 0.75 0.7 0.69 0.64 0.63 0.64 0.6 0.5 0.52 0.41 0.42 0.46 0.44 0.38 0.5 0.41 0.41 0.46 0.49 0.54 0.61 0.66 0.7 0.7 0.71 0.72 0.76 0.74 0.74 0.76 0.75 0.75 0.77 0.78 0.72 0.74 0.65 0.64 0.6 0.6 0.6 0.65 0.64 0.61 0.57 0.57 0.58 0.6 0.59 0.59 0.63 0.59 0.62 0.64 0.69 0.75 0.72 0.67 0.62 0.6 0.67 0.7 0.66 0.71 0.71 0.72 0.62 1.35 0.95 0.78 0.7 0.86 0.83 0.75 1.03 1.16 1.06 0.93 1.28 1.21 1.09 1.08 1.1 1.17 1.04 1.12 1.09 1.22 1.19 1.13 1.66 1.39 1.07 1.36 0.95 0.96 1.1 1.32 1.4 1.02 0.9 0.77 0.78 0.71 1.03 0.94 1.12 1.02 0.84 0.87 0.93 0.86 0.94 1.25 1.23 1.15 1.16 1.05 1.09 1.08 1.07 1.08 1.02 0.88 0.76 0.76 0.79 0.81 0.81 0.84 0.89 0.9 0.88 0.85 0.86 0.86 0.83 0.84 0.83 0.79 0.79 0.81 0.81 0.77 0.75 0.72 0.69 0.7 0.66 0.55 0.46 0.52 0.5 0.38 0.34 0.35 0.36 0.44 0.5 0.53 0.58 0.6 0.46 0.41 0.45 0.48 0.48 0.53 0.56 0.6 0.62 0.58 0.72 0.69 0.85 1.03 0.89 0.82 0.8 0.77 0.95 1.36 0.85 0.99 0.77 0.64 0.63 0.65 0.55 0.62 0.77 0.7 0.72 0.82 0.77 0.72 0.8 0.78 1 1.85 1.3 1.33 2.04 1.09 1.45 1.79 1.21 1.14 1.19 1.03 0.87 0.9 0.83 0.73 0.76 0.92 1.16 1.1 0.85 0.87 0.85 0.73 1.04 1.04 1 1.16 1.33 1.35 1.34 1.43 1.16 0.95 1.01 1.44 1.29 1.39 1.73 1.89 1.59 1.6 1.29 1.2 1.16 0.91 1.05 0.94 0.92 0.95 1.12 1.1 1.15 1.15 1.05 1.05 1.11 0.99 0.97 0.97 0.93 0.91 0.96 0.93 0.93 1.2 1.2 1.22 0.99 0.91 0.97 0.99 1.25 1.18 1.15 1.03 1 1.12 1.11 1.08 0.99 0.99 0.95 0.99 1.08 1.23 1.14 0.93 1 0.98 0.88 0.9 0.98 0.95 0.97 1.75 1.26 1.04 0.72 0.78 0.76 1.19 1.26 1.19 1.23 0.95 1.21 1.51 1.3 1.2 1.17 1.32 1.17 1.1 1.07 0.96 1.12 1.19 1.67 1.4 1.13 1.27 1.67 1.73 1.56 1.41 1.15 1.26 1.56 1.4 1.32 1.02 1.15 1.16 1.16 0.93 1.13 1.21 1.19 1.2 1.22 1.11 0.71 0.64 0.72 0.71 0.67 0.79 0.91 1.46 1.36 1.1 1.92 1.38 1.11 1.22 1.1 1.02 0.9 1.01 1.09 1.46 1.23 1.5 1.58];
oTHDUmeanL3=[1.78 1.88 1.38 1.49 1.31 1.45 1.49 1.74 1.78 1.77 1.5 1.38 1.38 1.46 1.71 1.5 1.59 1.59 1.39 1.29 1.25 1.28 0.97 0.91 0.99 0.9 0.87 0.78 0.94 0.88 0.9 1 0.95 0.82 0.9 0.75 0.75 0.74 0.69 0.7 0.63 0.65 0.7 0.66 0.69 0.65 0.82 0.94 0.83 0.76 0.87 0.78 0.81 0.71 0.64 0.7 0.69 0.76 0.73 1.43 1.36 0.88 0.87 0.82 0.8 1.17 0.84 0.78 0.75 0.72 0.67 0.7 0.82 0.85 0.67 0.55 0.55 0.57 0.96 1.2 1.59 1.36 1.39 0.75 1.15 0.97 0.84 0.84 0.69 0.69 0.6 0.66 0.68 0.66 0.62 0.66 0.74 0.68 0.76 0.94 0.71 0.98 1.26 0.89 0.97 0.88 0.8 0.54 0.61 0.54 0.54 0.99 0.87 0.74 0.66 0.52 0.46 0.56 0.57 0.66 0.71 0.75 0.65 0.65 0.77 0.87 0.75 0.72 0.77 0.69 0.69 0.7 0.75 0.81 0.84 0.9 0.85 0.86 0.9 0.91 0.97 1.12 1.14 1.21 1.24 1.28 1.31 1.48 1.57 1.59 1.84 1.44 1.44 1.59 1.55 1.61 1.57 1.37 1.49 1.72 1.62 1.52 1.45 1.33 1.45 1.38 1.27 1.28 1.27 1.38 1.74 1.19 0.82 1.06 0.93 0.8 0.94 1.02 0.98 0.76 0.76 0.72 0.96 0.97 1.09 1.41 0.97 0.73 0.98 0.9 0.82 0.97 1.01 0.98 0.79 0.74 0.85 0.85 0.71 0.85 0.77 0.88 0.99 0.87 0.8 0.8 0.99 1.02 1 1.11 0.92 0.99 1 1.11 1.25 0.92 0.77 0.71 0.79 0.67 0.6 0.59 0.53 0.53 0.51 0.51 0.51 0.49 0.46 0.46 0.45 0.48 0.49 0.48 0.5 0.5 0.49 0.5 0.5 0.46 0.5 0.52 0.53 0.49 0.46 0.47 0.47 0.52 0.49 0.47 0.48 0.5 0.49 0.53 0.71 0.58 0.62 0.59 0.69 0.87 1.52 1.44 0.82 1.12 1.63 1.32 1.31 1.34 1.1 0.88 0.96 1.13 0.94 0.88 0.83 0.78 0.89 0.89 0.91 1.02 1.26 1.22 1.32 1.31 1.18 1.16 1.17 1.15 1.13 1.03 1.06 1.14 1.23 1.2 1.31 1.65 1.77 1.45 1.45 1.28 1.27 1.27 1.24 1.29 1.26 1.42 1.93 1.62 1.31 1.19 1.15 1.05 1.14 1.04 1.71 1.16 1.15 0.99 1.13 1.14 1.34 0.94 0.97 0.95 0.89 0.83 0.81 0.94 0.86 1.03 1.05 1.06 0.83 0.94 1.25 1.25 1.27 1.32 1.07 0.99 0.94 0.92 0.83 0.73 0.76 0.86 0.9 0.77 0.79 0.83 0.81 0.7 0.67 0.73 0.75 0.78 0.76 0.94 1.04 1.14 1.33 1.2 0.89 0.96 1.08 1.11 0.93 0.75 0.67 0.98 1.13 1.37 1.14 0.89 0.79 0.83 0.8 0.75 0.64 0.61 0.65 0.7 0.69 0.95 0.66 1 1.25 1.13 0.95 0.97 0.94 0.92 0.86 1.02 0.75 0.83 1.03 0.98 0.76 0.69 0.63 0.61 0.66 0.6 0.64 0.52 0.58 1.11 0.76 0.67 0.84 0.77 0.85 0.66 0.71 0.75 0.73 0.77 0.75 0.81 0.71 0.74 0.82 0.78 0.71 0.86 1.06 1.08 0.99 1.07 0.87 0.86 0.97 0.94 0.97 0.92 0.92 0.9 0.88 0.89 0.95 0.94 1.04 0.99 0.97 0.95 0.94 0.94 0.94 1.01 1.03 0.96 0.97 0.95 0.96 0.95 0.89 0.86 0.87 0.81 0.75 0.75 0.83 0.75 0.62 0.62 0.63 0.65 0.67 0.7 0.69 0.69 0.68 0.66 0.7 1.08 1.22 1.08 0.96 1.47 1.03 0.76 1.02 0.85 0.91 0.74 0.78 0.77 0.82 1.02 0.85 0.72 0.76 0.85 0.8 0.74 0.7 1.09 0.96 0.81 0.75 0.76 0.79 0.66 0.65 0.62 0.6 0.6 0.64 0.78 0.95 0.92 1.11 1.21 0.97 0.85 0.72 0.66 0.75 1.17 1.28 1 0.96 0.85 0.82 0.76 0.88 1.04 1 1.01 0.98 0.81 0.77 0.73 0.83 1.22 1.2 1.14 1.16 0.98 0.75 0.78 0.72 0.72 0.72 0.77 0.8 0.82 0.83 0.8 0.89 0.87 0.91 0.91 0.85 0.85 0.8 0.8 0.84 0.88 0.97 0.9 0.87 0.92 0.81 0.94 0.98 0.98 1.07 1.08 1.09 1.09 1.29 1.38 1.34 1.29 1.35 1.15 1.16 1.15 1.26 1.57 1.35 1.75 1.66 1.4 1.23 1.24 1.25 1.06 1.03 1.02 1 1.1 1 0.93 0.91 0.9 0.8 0.8 0.72 0.72 0.73 0.76 0.76 0.75 0.78 0.8 0.83 0.86 0.86 0.88 0.92 0.94 0.94 0.92 0.88 0.9 0.92 0.87 0.87 0.84 0.88 0.87 0.86 0.83 0.87 0.93 0.89 0.89 0.88 0.87 0.91 0.87 0.87 0.87 0.88 0.84 0.83 0.83 0.82 0.75 0.77 0.78 0.7 0.75 0.67 0.64 0.6 0.55 0.54 0.53 0.46 0.47 0.38 0.39 0.42 0.37 0.32 0.46 0.36 0.35 0.38 0.44 0.48 0.53 0.57 0.6 0.59 0.59 0.6 0.64 0.61 0.62 0.63 0.61 0.63 0.62 0.64 0.58 0.61 0.55 0.56 0.51 0.52 0.51 0.54 0.55 0.53 0.51 0.51 0.5 0.52 0.52 0.54 0.6 0.56 0.56 0.58 0.62 0.67 0.62 0.59 0.55 0.53 0.58 0.63 0.58 0.61 0.62 0.64 0.55 1.32 0.92 0.74 0.66 0.86 0.84 0.77 1.02 1.12 1.05 0.96 1.28 1.21 1.14 1.13 1.16 1.25 1.1 1.21 1.2 1.33 1.29 1.23 1.78 1.5 1.18 1.48 1.06 1.04 1.18 1.4 1.47 1.04 0.9 0.76 0.8 0.7 1.08 0.97 1.15 1.02 0.78 0.82 0.91 0.83 0.94 1.25 1.22 1.11 1.14 1.01 1.05 1.05 1.04 1.07 1 0.86 0.74 0.74 0.77 0.77 0.76 0.8 0.83 0.85 0.85 0.82 0.81 0.82 0.81 0.81 0.81 0.78 0.79 0.8 0.81 0.8 0.74 0.68 0.66 0.66 0.62 0.5 0.43 0.49 0.47 0.36 0.34 0.36 0.35 0.4 0.47 0.48 0.51 0.53 0.42 0.41 0.45 0.4 0.43 0.48 0.49 0.53 0.56 0.49 0.64 0.59 0.81 1 0.84 0.77 0.75 0.7 0.9 1.3 0.8 0.95 0.72 0.59 0.56 0.59 0.49 0.56 0.73 0.65 0.66 0.78 0.72 0.66 0.76 0.76 0.95 1.7 1.21 1.23 1.91 1 1.35 1.66 1.13 1.09 1.14 1 0.86 0.88 0.83 0.73 0.75 0.91 1.15 1.1 0.87 0.88 0.89 0.77 1.05 1.08 1 1.17 1.36 1.4 1.39 1.5 1.25 1.02 1.09 1.53 1.38 1.5 1.81 1.99 1.7 1.69 1.38 1.28 1.22 0.91 1.04 0.89 0.89 0.92 1.12 1.09 1.14 1.15 1.03 1.04 1.11 0.97 0.96 0.96 0.93 0.9 0.95 0.91 0.91 1.19 1.2 1.2 0.95 0.88 0.94 0.97 1.24 1.17 1.13 1.03 0.99 1.12 1.1 1.07 0.97 0.98 0.94 0.99 1.07 1.24 1.16 0.96 1.04 1.04 0.91 0.89 0.94 0.91 0.94 1.64 1.22 1.02 0.74 0.81 0.77 1.2 1.25 1.19 1.23 0.95 1.18 1.46 1.24 1.17 1.15 1.28 1.15 1.08 1.07 0.95 1.09 1.12 1.54 1.3 1.08 1.21 1.59 1.64 1.5 1.35 1.12 1.22 1.5 1.34 1.25 1 1.13 1.11 1.12 0.88 1.08 1.14 1.15 1.14 1.12 1.02 0.77 0.71 0.78 0.78 0.77 0.87 1 1.49 1.39 1.15 1.95 1.45 1.2 1.33 1.25 1.17 1.07 1.19 1.27 1.57 1.37 1.62 1.7];
oImeanL1=[44.557 54.83 27.659 33.46 23.909 25.585 25.756 39.21 44.733 47.29 28.619 20.097 19.33 19.42 33.301 23.886 36.915 41.602 28.557 21.216 19.261 24.386 9.034 9.744 18.483 12.568 10.892 7.489 18.58 17.148 19.307 25.983 26.381 18.449 22.648 15.966 17.199 14.437 11.574 11.33 8.148 9.784 11.085 10.256 14.722 12.273 21.659 26.08 20.114 17.557 24.818 19.267 18.057 13.108 9.091 10.29 8.523 14.79 15.062 58.705 58.068 23.313 24.097 19.528 19.159 40.869 23.313 20.852 18.909 16.665 14.415 17.188 21.585 22.568 16.636 11.381 10.966 11.097 24.591 39.813 60.602 49.324 53.097 21.085 35.693 26.67 20.568 20.358 14.04 13.994 10.528 12.784 13.17 13.688 13.511 14.648 14.437 11.693 15.659 22.403 14.756 23.614 33.659 20.506 25.313 24.977 19.813 9.284 10.028 7.42 9.108 29.142 23.017 16.506 12.568 8.739 6.563 11.472 11.301 13.812 13.403 14.313 10.92 10.216 15.625 18.455 15.023 12.659 12.881 9.443 6.648 7.074 9.159 10.142 11.347 7.687 6.284 6.602 5.358 8.25 11.881 13.369 11.875 12.813 11.597 11.216 12.011 23.761 32.398 31.409 52.71 29.972 26.591 29.688 27.222 29.812 26.778 19.165 25.097 37.307 33.04 29.653 27.568 25.313 31.148 30.153 26.08 27.034 26.347 35.903 59.17 34.852 16.818 30.653 22.716 18.858 26.534 29.199 28.915 18.602 17.989 16.227 26.932 29.131 37.955 62.193 35.409 17.67 35.068 32.102 26.148 30.614 36.301 31.545 18.239 16.472 22.415 22.943 12.818 21.966 19.29 25.409 31.687 27.744 20.403 20.949 29.227 31.528 32.381 40.352 30.199 30.466 31.29 36.653 41.801 27.847 19.682 17.472 19.068 14.398 11.352 9.983 5.455 3.392 5.051 5.852 5.341 6.017 5.114 5.938 4.426 4.443 4.341 4.585 1.96 1.625 1.631 1.636 1.625 1.886 1.79 1.676 1.665 4.915 4.443 5.83 4.239 1.841 2.102 3.591 3.96 6.597 6.335 5.42 15.261 7.659 8.114 5.125 12.091 21.835 57.21 52.761 20.795 32.79 56.75 43.04 48.068 46.438 32.574 21.176 23.574 33.869 22.96 18.761 15.949 12.125 14.284 16.125 16.733 17.295 24.449 24.574 31.131 35.085 33.511 27.71 26.244 24.5 21.727 11.642 11.847 16.898 21.403 20.313 27.562 43.324 53.199 27.943 25.949 19.278 15.5 14.881 14.926 17.04 17.807 27.739 58.665 45.847 24.21 14.653 15.631 11.483 12.915 9.545 56.955 28.926 26.08 17.716 24.75 30.506 48.29 24.568 24.148 22.25 19.097 18.301 14.949 22.699 19.744 26.597 29.841 31.699 19.511 25.352 43.057 46.409 47.023 48.756 37.801 31.489 29.08 25.415 19.199 12.864 15.926 23.591 23.801 15.409 17.125 18.517 17.693 15.722 15.284 17.682 18.597 18.267 18.057 24.239 26.835 34.392 44.108 38.841 25.483 29.557 32.278 32.182 24.733 17.977 15.051 24.466 36.341 45.79 41.506 23.801 17.438 16.17 14.778 13.341 8.619 8.835 10.619 13.403 13.324 22.273 10.403 22.813 35.807 32.551 26.926 27.534 24.665 23.023 21.807 32.449 21.483 26.188 34.278 27.108 18.063 13.545 8.682 7.881 11.443 11.386 13.494 8.398 12.83 35.307 17.244 14.722 21.915 17.023 17.841 7.813 10.489 10.852 8.051 10.841 11.199 14.057 10.847 11.301 14.392 10.648 6.273 11.142 18.96 19.966 17.648 21.966 14.341 12.744 15.307 11.494 14.21 10.864 10.551 9.261 6.597 4.011 5.091 5.858 9.335 7.301 5.972 4.46 3.813 3.693 4.051 5.205 4.96 4.739 5.534 5.381 6.392 6.71 6.244 9.051 12.761 11.585 10.938 10.307 13.915 10.847 5.659 6.205 6.42 5.557 7.023 8.438 8.063 6.972 6.449 6.369 7.801 31.636 40.011 30.898 32.795 65.108 38.006 12.148 29.205 18.267 22.54 11.898 15.801 13.597 16.46 27.472 19.006 11.591 16.653 20.778 18.25 14.108 10.375 32.841 25.176 17.773 15.165 15.494 17.205 12.051 8.233 6.216 8.034 7.136 6.193 13.676 22.892 23.71 30.665 35.972 23.778 17.67 12.608 7.051 10.972 33.489 33.517 20.585 19.398 13.551 9.182 5.239 11.023 17.33 16.932 19.295 21.722 14.773 10.159 8.301 13.597 24.574 23.5 23.307 26.528 20.58 7.182 11.335 8.739 6.778 5.773 4.761 4.21 3.864 3 2.938 1.659 1.926 1.619 1.75 2.807 2.955 5.392 5.682 5.33 4.176 2.977 3.818 5.54 11.898 8.324 9.017 9.705 6.92 6.068 5.165 4.557 5.875 15.148 21.301 17.148 16.17 20.233 13.642 11.744 12.188 17.926 31.403 21.023 44.403 44.682 35.227 21.011 23.119 22.449 14.54 11.722 8.761 5.778 12.267 8.903 5.722 4.892 5.545 4.301 4.665 3.261 2.602 2.96 3.511 2.58 2.983 3.352 3.858 3.148 4.199 3.54 4.136 4.182 4.688 3.778 4.847 3.659 3.528 4.347 4.028 3.955 3.051 3.42 3.676 4.097 2.148 3.71 4.608 4.097 4.051 3.92 3.267 3.807 3.489 3.403 3.818 4.364 3.483 4.426 4.841 6.341 7.869 9.244 9.767 8.364 6.437 7.062 7.443 7.767 4.79 5.42 5.006 4.125 5.83 3.761 3.727 3.938 3.801 3.33 5.205 3.648 2.398 2.563 2.489 2.494 4.08 5.415 6.091 6.71 6.534 7.17 7.693 5.614 5.102 5.364 5.017 5.795 6.92 7.54 6.557 7.188 2.392 5.665 4.034 4.676 4.102 5.96 4.341 3.04 2.989 2.432 2.506 3.318 3.205 3.364 5.017 3.364 3.534 6.313 6.795 9.239 8.335 5.653 4.517 3.403 7.045 9.375 6.295 7.205 6.699 8.466 6.341 42.915 26.494 17.852 12.682 17.051 16.42 13.71 24.778 31.778 27.79 22.011 36.392 33.472 26.153 24.392 25.631 28.955 23.227 28.699 32.733 38.21 39.023 33.938 61.773 47.608 30.54 45.074 23.386 23.739 30.534 44.545 51.085 29.205 21.597 12.807 15.119 8.5 24.688 19.869 30.114 22.744 9.892 12.75 17.068 13.818 19.261 36.233 34.369 30.352 33.159 27.585 25.96 25.045 24.369 20.722 19.528 13.199 6.33 7.92 9.608 6.875 8.614 8.511 8.011 8.653 8.972 6.551 7.239 7.682 7.494 7.426 8.125 9.415 12.966 12.79 12.574 12.773 8.028 8.131 9.869 10.284 8.926 6.881 6.909 7.176 7.886 5.625 4.75 5.886 6.068 6.767 8.58 7.835 7.392 8.301 6.96 6.767 8.54 7.159 7.625 8.813 8.949 9.739 10.273 6.313 12.028 11.466 17.33 22.739 18.341 16.153 16.119 15.875 24.284 40.551 22.722 27.608 19.767 14.193 10.551 12.233 8.682 12.023 16.699 13.693 14.46 17.261 14.136 10.949 14 14.58 22.216 62.909 40.375 39.767 76.767 32.869 47.415 60.943 31.83 25.722 30.892 25.977 18.972 18.943 16.227 12.852 13.074 21.392 32.545 28.955 17.188 17.188 17.261 9.864 22.131 22.477 23.426 31.983 39.705 38.443 40.057 47.563 34.278 24.313 26.568 45.955 38.972 45.199 65.523 77.631 56.301 59.563 46.568 37.188 33.903 20.239 23.926 16.693 16.301 16.96 30.597 29.96 28.67 29.972 19.92 18.534 25.102 12.477 10.875 14.04 11.585 8.608 9.739 10.233 11.96 27.813 28.057 32.25 14.557 9.438 9.818 9.977 32.131 26.267 22.568 17.523 15.966 21.29 19.301 19.023 13.335 14.114 11.102 13.114 26.278 35.284 27.392 15.574 21.153 20.443 13.716 16.159 17.932 18.699 21.92 58.739 38.597 27.608 14.21 18.506 17.114 34.392 39.222 35.17 38.778 25.83 37.307 52.977 43.051 40.028 35.381 41.563 34.608 31.523 29.551 25.153 31.17 36.773 60.136 45.858 30.563 33.523 55.466 62.778 52.381 40.733 28.33 32.767 49.676 43.17 36.858 23.648 29.284 27.801 28.5 19.267 27.778 30.693 30.915 32.722 32.438 29.795 15.994 13.489 16.864 17.091 15.392 17.898 23.523 51.665 51.466 35.92 75.489 48.119 29.091 31.71 23.67 18.585 10.653 11.756 15.943 33.915 28.557 37.131 39.017];
oImeanL2=[44.483 54.83 27.477 33.29 23.682 25.335 25.494 39.023 44.619 47.222 28.375 19.892 19.063 19.176 33.142 23.705 36.807 41.545 28.409 21.011 19.017 24.068 8.733 9.477 18.119 12.216 10.602 7.199 18.335 16.926 19.085 25.841 26.244 18.199 22.403 15.682 16.807 14.108 11.239 11.04 7.847 9.489 10.795 9.943 14.46 11.977 21.42 25.881 19.869 17.295 24.591 19.017 17.693 12.761 8.784 9.938 8.193 14.472 14.761 58.591 58 23.057 23.807 19.227 18.83 40.636 23.028 20.58 18.631 16.409 14.131 16.881 21.25 22.239 16.29 11.063 10.648 10.784 24.324 39.665 60.653 49.341 53.125 20.909 35.466 26.369 20.227 20.017 13.676 13.642 10.193 12.472 12.864 13.381 13.193 14.33 14.114 11.347 15.352 22.119 14.46 23.381 33.472 20.239 25.08 24.722 19.534 8.943 9.693 7.057 8.733 28.915 22.756 16.188 12.205 8.352 6.142 11.085 10.903 13.449 13.045 13.955 10.574 9.858 15.267 18.148 14.71 12.347 12.585 9.125 6.295 6.716 8.807 9.795 11.006 7.352 5.949 6.273 5.057 7.938 11.568 13.074 11.58 12.534 11.312 10.932 11.688 23.489 32.165 31.159 52.688 29.841 26.403 29.46 26.915 29.5 26.449 18.858 24.801 37.04 32.858 29.494 27.358 25.034 30.972 29.96 25.875 26.835 26.119 35.648 59.028 34.602 16.58 30.472 22.472 18.523 26.222 28.92 28.636 18.301 17.67 15.955 26.705 28.898 37.75 62.142 35.244 17.386 34.886 31.972 25.966 30.437 36.148 31.341 17.989 16.222 22.176 22.705 12.523 21.716 19.04 25.188 31.506 27.551 20.159 20.67 28.955 31.25 32.131 40.136 29.949 30.176 31.011 36.386 41.631 27.597 19.369 17.131 18.705 14.04 11.006 9.636 5.102 3.034 4.739 5.54 5.028 5.71 4.75 5.58 4 4.006 3.909 4.148 1.466 1.119 1.125 1.136 1.125 1.386 1.278 1.159 1.148 4.426 3.949 5.352 3.761 1.335 1.648 3.125 3.466 6.125 5.852 4.932 14.83 7.216 7.659 4.688 11.699 21.506 57.131 52.665 20.483 32.574 56.722 42.869 47.926 46.29 32.335 20.892 23.318 33.699 22.705 18.489 15.642 11.813 13.966 15.83 16.455 16.989 24.182 24.307 30.932 34.932 33.347 27.494 25.966 24.159 21.341 11.29 11.489 16.534 21.08 19.983 27.324 43.216 53.153 27.744 25.722 18.943 15.205 14.585 14.625 16.75 17.523 27.54 58.568 45.659 23.898 14.341 15.318 11.199 12.631 9.307 56.864 28.778 25.949 17.528 24.591 30.392 48.267 24.409 23.955 21.989 18.767 18 14.67 22.381 19.449 26.386 29.648 31.523 19.261 25.131 42.903 46.29 46.886 48.631 37.659 31.278 28.841 25.085 18.869 12.54 15.597 23.364 23.597 15.205 16.898 18.324 17.477 15.438 15.045 17.42 18.301 17.932 17.733 23.994 26.545 34.148 43.915 38.631 25.21 29.33 32.057 31.955 24.438 17.614 14.688 24.165 36.136 45.653 41.381 23.597 17.17 15.858 14.472 13.063 8.284 8.523 10.318 13.091 12.994 22.017 10.028 22.563 35.602 32.335 26.687 27.301 24.398 22.75 21.523 32.278 21.199 25.92 34.04 26.778 17.688 13.142 8.295 7.466 11.091 11.028 13.131 7.966 12.483 35.045 16.903 14.318 21.608 16.688 17.528 7.449 10.136 10.551 7.716 10.545 10.926 13.801 10.557 11.006 14.119 10.358 5.949 10.835 18.699 19.727 17.381 21.733 14.136 12.5 15.006 11.165 13.841 10.511 10.193 8.909 6.29 3.744 4.818 5.58 9.074 7.051 5.733 4.25 3.58 3.432 3.807 4.966 4.71 4.489 5.29 5.114 6.131 6.483 6.011 8.801 12.5 11.33 10.659 10.045 13.676 10.574 5.347 5.898 6.097 5.205 6.693 8.108 7.767 6.659 6.119 6.023 7.466 31.477 39.915 30.739 32.659 65.199 37.881 11.886 28.932 17.943 22.21 11.608 15.455 13.256 16.142 27.21 18.688 11.358 16.415 20.54 18.04 13.847 10.119 32.602 24.983 17.557 14.943 15.318 17.006 11.824 7.886 5.909 7.75 6.869 5.909 13.443 22.682 23.545 30.472 35.773 23.511 17.392 12.29 6.744 10.659 33.301 33.324 20.341 19.205 13.381 8.989 5.011 10.824 17.193 16.79 19.205 21.625 14.568 9.892 8.011 13.301 24.381 23.335 23.17 26.455 20.398 6.932 11.085 8.42 6.466 5.483 4.352 3.795 3.449 2.597 2.557 1.227 1.54 1.17 1.318 2.409 2.54 4.972 5.278 4.943 3.813 2.625 3.449 5.21 11.591 7.994 8.693 9.409 6.591 5.733 4.83 4.222 5.557 14.875 21.006 16.92 15.932 20.04 13.409 11.449 11.824 17.58 31.102 20.693 44.273 44.563 35.04 20.682 22.79 22.074 14.142 11.33 8.386 5.534 11.949 8.619 5.409 4.585 5.227 3.983 4.364 2.898 2.205 2.568 3.148 2.17 2.585 2.955 3.472 2.744 3.841 3.159 3.778 3.818 4.335 3.398 4.477 3.278 3.148 4.006 3.665 3.58 2.653 3.04 3.295 3.733 1.744 3.347 4.25 3.727 3.687 3.568 2.892 3.426 3.108 3.028 3.455 4 3.085 4.068 4.5 6 7.528 8.875 9.403 8.04 6.102 6.71 7.062 7.335 4.347 4.989 4.574 3.699 5.426 3.33 3.301 3.523 3.415 2.932 4.795 3.233 1.983 2.142 2.034 2.034 3.625 4.972 5.614 6.25 6.068 6.722 7.25 5.159 4.648 4.92 4.568 5.352 6.472 7.097 6.102 6.75 1.943 5.233 3.568 4.216 3.631 5.494 3.869 2.585 2.528 2.006 2.068 2.869 2.75 2.92 4.557 2.938 3.119 5.92 6.403 8.847 7.949 5.256 4.119 3.006 6.631 8.943 5.886 6.795 6.29 8.085 5.955 42.688 26.193 17.511 12.324 16.71 16.114 13.381 24.506 31.551 27.562 21.756 36.375 33.42 26.097 24.324 25.551 28.92 23.17 28.665 32.71 38.142 38.989 33.903 61.903 47.625 30.483 45.108 23.347 23.625 30.398 44.477 51.063 29.165 21.511 12.716 15.006 8.295 24.5 19.648 29.966 22.585 9.642 12.54 16.903 13.636 19.057 36.125 34.261 30.193 33.028 27.403 25.761 24.869 24.131 20.42 19.244 12.864 5.949 7.557 9.284 6.517 8.284 8.165 7.659 8.313 8.631 6.199 6.909 7.364 7.176 7.108 7.818 9.125 12.693 12.494 12.273 12.494 7.705 7.807 9.551 9.932 8.534 6.494 6.523 6.778 7.494 5.216 4.318 5.489 5.682 6.375 8.205 7.426 6.977 7.903 6.523 6.33 8.131 6.756 7.233 8.409 8.54 9.341 9.875 5.852 11.636 11.068 16.977 22.426 18 15.807 15.767 15.511 23.966 40.33 22.381 27.301 19.403 13.79 10.136 11.841 8.273 11.619 16.341 13.324 14.108 16.909 13.744 10.568 13.597 14.21 21.898 62.932 40.233 39.614 76.875 32.659 47.318 60.864 31.608 25.489 30.67 25.699 18.682 18.631 15.886 12.5 12.716 21.097 32.318 28.716 16.875 16.909 16.994 9.54 21.886 22.227 23.188 31.818 39.608 38.313 39.898 47.466 34.017 24.057 26.301 45.705 38.727 44.972 65.432 77.597 56.085 59.432 46.364 36.886 33.568 19.852 23.557 16.324 15.96 16.591 30.347 29.722 28.477 29.79 19.67 18.267 24.881 12.182 10.557 13.824 11.33 8.284 9.392 9.881 11.625 27.585 27.83 32.051 14.273 9.057 9.42 9.619 31.92 26.006 22.273 17.193 15.597 20.932 19.028 18.739 13.028 13.761 10.761 12.739 25.989 35.04 27.142 15.227 20.79 20.091 13.375 15.812 17.58 18.295 21.517 58.619 38.358 27.335 13.875 18.148 16.801 34.131 39.011 34.96 38.614 25.614 37.142 52.875 42.892 39.852 35.176 41.364 34.352 31.261 29.29 24.858 30.915 36.608 60.125 45.739 30.33 33.301 55.392 62.761 52.284 40.568 28.08 32.574 49.574 43.023 36.648 23.364 29.028 27.517 28.199 18.926 27.5 30.42 30.71 32.5 32.233 29.545 15.705 13.222 16.642 16.83 15.153 17.659 23.295 51.659 51.5 35.83 75.676 48.136 28.949 31.528 23.438 18.33 10.341 11.449 15.682 33.75 28.347 36.966 38.875];
oImeanL3=[44.358 54.71 27.398 33.216 23.585 25.261 25.409 38.903 44.46 47.074 28.233 19.727 18.92 19.04 32.994 23.568 36.688 41.415 28.29 20.886 18.886 23.977 8.722 9.432 18.057 12.176 10.563 7.216 18.261 16.938 19.097 25.773 26.199 18.159 22.364 15.648 16.75 14.04 11.199 10.972 7.835 9.483 10.79 9.966 14.455 12.011 21.443 25.886 19.875 17.313 24.574 18.966 17.648 12.733 8.79 9.955 8.188 14.46 14.716 58.568 57.955 22.994 23.727 19.131 18.79 40.614 22.966 20.506 18.551 16.369 14.051 16.784 21.199 22.222 16.278 11.125 10.739 10.875 24.358 39.636 60.551 49.284 53.068 20.898 35.438 26.358 20.244 20.028 13.676 13.665 10.239 12.5 12.886 13.409 13.233 14.358 14.142 11.392 15.352 22.085 14.449 23.358 33.415 20.256 25.057 24.727 19.551 9.011 9.739 7.131 8.818 28.909 22.756 16.222 12.295 8.472 6.278 11.182 11.006 13.534 13.125 14.057 10.693 9.966 15.335 18.21 14.784 12.392 12.67 9.227 6.409 6.807 8.864 9.852 11.045 7.432 6.063 6.358 5.187 8.028 11.636 13.142 11.636 12.545 11.307 10.938 11.676 23.443 32.148 31.148 52.545 29.733 26.29 29.392 26.892 29.426 26.415 18.795 24.739 37.085 32.727 29.381 27.261 24.926 30.835 29.841 25.784 26.727 26.017 35.574 58.983 34.506 16.472 30.398 22.364 18.455 26.159 28.83 28.511 18.188 17.597 15.881 26.591 28.795 37.693 62.102 35.199 17.364 34.83 31.909 25.938 30.381 36.125 31.352 18.011 16.193 22.131 22.67 12.545 21.699 19.011 25.193 31.517 27.562 20.108 20.631 28.926 31.216 32.108 40.108 29.92 30.148 30.96 36.352 41.557 27.511 19.295 17.074 18.693 14.028 10.994 9.648 5.193 3.21 4.858 5.642 5.131 5.795 4.881 5.688 4.182 4.176 4.08 4.341 1.903 1.574 1.58 1.597 1.574 1.79 1.71 1.614 1.602 4.665 4.165 5.483 3.977 1.767 2.028 3.432 3.75 6.29 6.023 5.097 14.852 7.301 7.767 4.841 11.756 21.489 57.068 52.585 20.506 32.551 56.648 42.824 47.898 46.182 32.261 20.869 23.33 33.705 22.767 18.523 15.687 11.864 14 15.83 16.432 16.943 24.114 24.25 30.847 34.835 33.261 27.403 25.886 24.108 21.307 11.273 11.477 16.511 21.045 19.943 27.261 43.08 52.972 27.602 25.591 18.852 15.114 14.517 14.551 16.665 17.432 27.42 58.449 45.574 23.852 14.278 15.25 11.102 12.545 9.318 56.824 28.767 25.898 17.483 24.523 30.307 48.142 24.313 23.869 21.909 18.705 17.938 14.585 22.307 19.352 26.261 29.568 31.398 19.148 25.074 42.864 46.261 46.864 48.585 37.625 31.273 28.824 25.08 18.847 12.5 15.551 23.352 23.574 15.187 16.875 18.29 17.426 15.324 14.915 17.324 18.239 17.852 17.625 23.858 26.438 34.051 43.835 38.557 25.205 29.324 32.074 31.943 24.455 17.653 14.733 24.159 36.142 45.636 41.375 23.619 17.21 15.915 14.523 13.063 8.381 8.619 10.409 13.187 13.091 22.057 10.142 22.574 35.545 32.318 26.705 27.318 24.443 22.83 21.631 32.284 21.233 25.92 34.023 26.79 17.699 13.17 8.335 7.54 11.153 11.057 13.148 8.068 12.506 35.045 17.023 14.375 21.591 16.75 17.551 7.591 10.313 10.653 7.864 10.642 10.977 13.824 10.597 11.063 14.136 10.398 6.051 10.903 18.676 19.733 17.415 21.739 14.176 12.562 15.051 11.21 13.852 10.551 10.222 8.972 6.295 3.778 4.813 5.58 9 7.023 5.71 4.273 3.631 3.494 3.858 5.006 4.784 4.585 5.335 5.165 6.159 6.5 6.028 8.744 12.455 11.386 10.733 10.08 13.688 10.625 5.443 5.983 6.199 5.324 6.784 8.193 7.813 6.75 6.239 6.153 7.574 31.517 39.949 30.795 32.739 65.239 37.926 11.909 28.938 17.943 22.193 11.642 15.449 13.25 16.136 27.227 18.676 11.324 16.398 20.528 18.091 13.892 10.159 32.591 24.983 17.54 14.955 15.369 17.011 11.824 7.96 6.011 7.852 6.977 6.063 13.517 22.653 23.517 30.426 35.767 23.477 17.375 12.324 6.807 10.693 33.313 33.318 20.324 19.114 13.25 8.972 5.136 10.875 17.165 16.813 19.125 21.483 14.466 9.864 7.977 13.176 24.256 23.165 23.034 26.301 20.295 6.955 10.983 8.341 6.437 5.426 4.483 3.938 3.653 2.864 2.778 1.665 1.915 1.625 1.744 2.665 2.813 5.125 5.369 5.091 4.045 2.955 3.665 5.369 11.636 8.08 8.778 9.455 6.705 5.92 5.017 4.438 5.67 14.915 21.006 16.932 15.955 20.045 13.466 11.483 11.813 17.568 31.091 20.693 44.176 44.443 34.955 20.608 22.744 22.006 14.108 11.278 8.335 5.517 11.858 8.597 5.443 4.602 5.244 4.045 4.409 3.057 2.472 2.795 3.273 2.466 2.83 3.182 3.648 2.989 4.023 3.386 3.983 4.011 4.5 3.602 4.653 3.506 3.375 4.159 3.852 3.767 2.92 3.267 3.523 3.943 2.091 3.585 4.403 3.926 3.869 3.75 3.131 3.619 3.341 3.256 3.648 4.148 3.324 4.239 4.642 6.097 7.551 8.915 9.42 8.028 6.176 6.733 7.074 7.42 4.511 5.153 4.773 3.932 5.631 3.614 3.58 3.79 3.682 3.222 5.04 3.511 2.341 2.477 2.392 2.392 3.92 5.239 5.79 6.398 6.21 6.852 7.369 5.301 4.79 5.074 4.727 5.489 6.608 7.222 6.261 6.903 2.267 5.466 3.79 4.415 3.841 5.636 4.068 2.869 2.807 2.313 2.375 3.102 2.994 3.148 4.727 3.239 3.409 6.142 6.608 8.994 8.131 5.477 4.369 3.278 6.778 9.074 6.04 6.977 6.477 8.193 6.114 42.767 26.273 17.631 12.426 16.79 16.17 13.46 24.563 31.608 27.625 21.813 36.324 33.324 25.938 24.114 25.335 28.665 22.898 28.381 32.489 37.92 38.79 33.659 61.693 47.409 30.244 44.875 23.114 23.392 30.17 44.261 50.869 28.915 21.25 12.438 14.807 8.227 24.477 19.636 29.932 22.511 9.619 12.489 16.83 13.568 19.011 36.091 34.222 30.176 33.011 27.403 25.739 24.795 24.074 20.341 19.193 12.841 6.023 7.58 9.284 6.551 8.301 8.193 7.687 8.347 8.676 6.256 6.955 7.409 7.205 7.148 7.847 9.114 12.608 12.449 12.227 12.438 7.727 7.801 9.506 9.886 8.557 6.557 6.591 6.864 7.585 5.335 4.489 5.625 5.795 6.489 8.301 7.534 7.085 7.989 6.659 6.455 8.233 6.847 7.335 8.477 8.563 9.358 9.886 5.898 11.631 11.063 16.966 22.42 18.006 15.79 15.767 15.511 23.977 40.347 22.403 27.307 19.42 13.841 10.153 11.847 8.273 11.642 16.364 13.358 14.074 16.869 13.727 10.591 13.574 14.21 21.886 62.824 40.176 39.557 76.778 32.682 47.273 60.795 31.574 25.426 30.591 25.642 18.682 18.585 15.858 12.506 12.705 21.085 32.324 28.727 16.932 16.949 17.028 9.568 21.881 22.216 23.17 31.773 39.557 38.176 39.773 47.364 33.949 23.949 26.205 45.648 38.648 44.949 65.438 77.608 56.091 59.466 46.438 36.892 33.551 19.841 23.528 16.295 15.915 16.557 30.318 29.739 28.472 29.83 19.682 18.273 24.898 12.205 10.602 13.801 11.347 8.358 9.46 9.949 11.682 27.597 27.881 32.097 14.307 9.159 9.523 9.699 31.966 26.068 22.324 17.239 15.625 20.943 19.04 18.693 13.057 13.807 10.835 12.79 26.057 35.085 27.142 15.25 20.778 20.085 13.432 15.812 17.585 18.318 21.585 58.642 38.426 27.381 13.983 18.227 16.869 34.188 39.034 34.983 38.631 25.665 37.17 52.881 42.898 39.841 35.148 41.369 34.364 31.267 29.307 24.886 30.943 36.591 60.074 45.716 30.324 33.278 55.364 62.75 52.318 40.614 28.108 32.574 49.534 43.011 36.688 23.403 29.028 27.517 28.222 18.949 27.5 30.443 30.744 32.534 32.318 29.602 15.67 13.21 16.591 16.767 15.125 17.608 23.244 51.545 51.386 35.75 75.5 48.017 28.864 31.455 23.409 18.324 10.358 11.472 15.619 33.648 28.278 36.903 38.778];
%% THD=f(Isk) L1
[oImeanL1sorted,idx] = sort(oImeanL1,'ascend'); % sorted from min to max
oTHDUmeanL1sorted=oTHDUmeanL1(idx)
figure(1)
% f=plot(oImeanL1sorted,oTHDUmeanL1sorted)
% ylabel('THD_{Umean_{L1}}')
% xlabel('I_{mean_{L1}}')
%function [fitresult, gof] = createFit(oImeanL1sorted, oTHDUmeanL1sorted)
%CREATEFIT(OIMEANL1SORTED,OTHDUMEANL1SORTED)
% Create a fit.
%
% Data for 'untitled fit 1' fit:
% X Input : oImeanL1sorted
% Y Output: oTHDUmeanL1sorted
% Output:
% fitresult : a fit object representing the fit.
% gof : structure with goodness-of fit info.
%
% See also FIT, CFIT, SFIT.
% Auto-generated by MATLAB on 30-Nov-2020 23:45:06
%% Fit: 'inter'.
[xData, yData] = prepareCurveData( oImeanL1sorted, oTHDUmeanL1sorted );
% Set up fittype and options.
ft = fittype( {'(sin(x-pi))', '((x-10)^2)', '1'}, 'independent', 'x', 'dependent', 'y', 'coefficients', {'a', 'b', 'c'} );
% Fit model to data.
[fitresult, gof] = fit( xData, yData, ft );
% Plot fit with data.
figure( 'Name', 'inter' );
h = plot( fitresult, xData, yData );
legend( h, 'oTHDUmeanL1sorted vs. oImeanL1sorted', 'inter', 'Location', 'NorthEast', 'Interpreter', 'none' );
% Label axes
xlabel( 'oImeanL1sorted', 'Interpreter', 'none' );
ylabel( 'oTHDUmeanL1sorted', 'Interpreter', 'none' );
grid on
% THD=f(Isk) L2
[oImeanL2sorted,idx] = sort(oImeanL2,'ascend'); % sorted from min to max
oTHDUmeanL2sorted=oTHDUmeanL2(idx)
figure(2)
f=plot(oImeanL2sorted,oTHDUmeanL2sorted)
ylabel('THD_{Umean_{L2}}')
xlabel('I_{mean_{L2}}')

Accepted Answer

Cris LaPierre
Cris LaPierre on 4 Dec 2020
Edited: Cris LaPierre on 4 Dec 2020
Remove or comment out the following line of code from your script
figure(1)
Every time you call the figure command, it creates a new figure.
figure(1) creates Figure 1. Nothing is plotted on this figure, so it is blank.
figure('Name','inter') created Figure 2: iter. The fitresult is plotted in this figure.
figure(2) makes Figure 2 the active figure. The next plot command replaces the existing plot on that figure (unless hold is on). The sorted data is plotted here.
The final result is 2 figures, not 3. The first and the third. Naming a figure does not get around the automatic numbering of figure windows. The figure(n) syntax first looks for an existing figure with that number. Read more here.

More Answers (0)

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!