diff --git a/README.md b/README.md index ae3c3a77..0744fc35 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## MATLAB PLOTLY API WRAPPER 2.1.7 +## MATLAB PLOTLY API WRAPPER 2.1.8 ### NUTSHELL: diff --git a/plotly/plotly_aux/plotly_version.m b/plotly/plotly_aux/plotly_version.m index 59ad4be3..19cddab6 100644 --- a/plotly/plotly_aux/plotly_version.m +++ b/plotly/plotly_aux/plotly_version.m @@ -1,3 +1,3 @@ function version = plotly_version() - version = '2.1.7'; + version = '2.1.8'; end diff --git a/plotly/plotlyfig_aux/handlegraphics/updateHistogram.m b/plotly/plotlyfig_aux/handlegraphics/updateHistogram.m index 40bf6336..3d8b6393 100644 --- a/plotly/plotlyfig_aux/handlegraphics/updateHistogram.m +++ b/plotly/plotlyfig_aux/handlegraphics/updateHistogram.m @@ -6,10 +6,10 @@ % name:...[DONE] % autobinx:...[DONE] % nbinsx:...[DONE] -% xbins:...[NA] +% xbins:...[DONE] % autobiny:...[DONE] % nbinsy:...[DONE] -% ybins:...[NA] +% ybins:...[DONE] % text:...[NOT SUPPORTED IN MATLAB] % error_y:...[HANDLED BY ERRORBARSERIES] % error_x:...[HANDLED BY ERRORBARSERIES] @@ -79,7 +79,7 @@ %-------------------------------------------------------------------------% %-HIST XAXIS-% -obj.data{histIndex}.histnorm = 'count'; +obj.data{histIndex}.histfunc= 'count'; %-------------------------------------------------------------------------% @@ -103,12 +103,15 @@ %-------------------------------------------------------------------------% %-hist autobinx-% - obj.data{histIndex}.autobinx = true; + obj.data{histIndex}.autobinx = false; %-------------------------------------------------------------------------% - %-hist nbinsx-% - obj.data{histIndex}.nbinsx = length(xdata) + 1; %(+1 for max #) + %-hist xbins-% + xbins.start = hist_data.XData(2,1); + xbins.end = hist_data.XData(3,end); + xbins.size = diff(hist_data.XData(2:3,1)); + obj.data{histIndex}.xbins = xbins; %-------------------------------------------------------------------------% @@ -130,12 +133,15 @@ %-------------------------------------------------------------------------% %-hist autobiny-% - obj.data{histIndex}.autobiny = true; + obj.data{histIndex}.autobiny = false; %-------------------------------------------------------------------------% - %-hist nbinsy-% - obj.data{histIndex}.nbinsy = length(ydata); + %-hist ybins-% + ybins.start = hist_data.YData(2,1); + ybins.end = hist_data.YData(3,end); + ybins.size = diff(hist_data.YData(2:3,1)); + obj.data{histIndex}.ybins = ybins; %-------------------------------------------------------------------------%