|
6 | 6 | % name:...[DONE]
|
7 | 7 | % autobinx:...[DONE]
|
8 | 8 | % nbinsx:...[DONE]
|
9 |
| -% xbins:...[NA] |
| 9 | +% xbins:...[DONE] |
10 | 10 | % autobiny:...[DONE]
|
11 | 11 | % nbinsy:...[DONE]
|
12 |
| -% ybins:...[NA] |
| 12 | +% ybins:...[DONE] |
13 | 13 | % text:...[NOT SUPPORTED IN MATLAB]
|
14 | 14 | % error_y:...[HANDLED BY ERRORBARSERIES]
|
15 | 15 | % error_x:...[HANDLED BY ERRORBARSERIES]
|
|
79 | 79 | %-------------------------------------------------------------------------%
|
80 | 80 |
|
81 | 81 | %-HIST XAXIS-%
|
82 |
| -obj.data{histIndex}.histnorm = 'count'; |
| 82 | +obj.data{histIndex}.histfunc= 'count'; |
83 | 83 |
|
84 | 84 | %-------------------------------------------------------------------------%
|
85 | 85 |
|
|
103 | 103 | %-------------------------------------------------------------------------%
|
104 | 104 |
|
105 | 105 | %-hist autobinx-%
|
106 |
| - obj.data{histIndex}.autobinx = true; |
| 106 | + obj.data{histIndex}.autobinx = false; |
107 | 107 |
|
108 | 108 | %-------------------------------------------------------------------------%
|
109 | 109 |
|
110 |
| - %-hist nbinsx-% |
111 |
| - obj.data{histIndex}.nbinsx = length(xdata) + 1; %(+1 for max #) |
| 110 | + %-hist xbins-% |
| 111 | + xbins.start = hist_data.XData(2,1); |
| 112 | + xbins.end = hist_data.XData(3,end); |
| 113 | + xbins.size = diff(hist_data.XData(2:3,1)); |
| 114 | + obj.data{histIndex}.xbins = xbins; |
112 | 115 |
|
113 | 116 | %-------------------------------------------------------------------------%
|
114 | 117 |
|
|
130 | 133 | %-------------------------------------------------------------------------%
|
131 | 134 |
|
132 | 135 | %-hist autobiny-%
|
133 |
| - obj.data{histIndex}.autobiny = true; |
| 136 | + obj.data{histIndex}.autobiny = false; |
134 | 137 |
|
135 | 138 | %-------------------------------------------------------------------------%
|
136 | 139 |
|
137 |
| - %-hist nbinsy-% |
138 |
| - obj.data{histIndex}.nbinsy = length(ydata); |
| 140 | + %-hist ybins-% |
| 141 | + ybins.start = hist_data.YData(2,1); |
| 142 | + ybins.end = hist_data.YData(3,end); |
| 143 | + ybins.size = diff(hist_data.YData(2:3,1)); |
| 144 | + obj.data{histIndex}.ybins = ybins; |
139 | 145 |
|
140 | 146 | %-------------------------------------------------------------------------%
|
141 | 147 |
|
|
0 commit comments