Skip to content

Commit 9bd5b80

Browse files
fix issues with histogram2 function used in ssim_baselines/matlab/code-examples/data-distribution-plots/histogram2
1 parent b6c6022 commit 9bd5b80

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

plotly/plotlyfig_aux/handlegraphics/updateHistogram2.m

+11
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,17 @@
5858

5959
%---------------------------------------------------------------------%
6060

61+
%-lighting settings-%
62+
obj.data{histIndex}.lighting.diffuse = 0.92;
63+
obj.data{histIndex}.lighting.ambient = 0.54;
64+
obj.data{histIndex}.lighting.specular = 1.42;
65+
obj.data{histIndex}.lighting.roughness = 0.52;
66+
obj.data{histIndex}.lighting.fresnel = 0.2;
67+
obj.data{histIndex}.lighting.vertexnormalsepsilon = 1e-12;
68+
obj.data{histIndex}.lighting.facenormalsepsilon = 1e-6;
69+
70+
%---------------------------------------------------------------------%
71+
6172
%-aspect ratio-%
6273
ar = obj.PlotOptions.AspectRatio;
6374

0 commit comments

Comments
 (0)