Skip to content

Fix histogram2 issues used in ssim baselines matlab code examples data distribution plots histogram2 #356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix issues with histogram2 function used in ssim_baselines/matlab/cod…
…e-examples/data-distribution-plots/histogram2
  • Loading branch information
galvisgilberto committed Aug 24, 2021
commit 9bd5b8044eb9a2f9fc6d9aa5ce8ca71fea249859
11 changes: 11 additions & 0 deletions plotly/plotlyfig_aux/handlegraphics/updateHistogram2.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@

%---------------------------------------------------------------------%

%-lighting settings-%
obj.data{histIndex}.lighting.diffuse = 0.92;
obj.data{histIndex}.lighting.ambient = 0.54;
obj.data{histIndex}.lighting.specular = 1.42;
obj.data{histIndex}.lighting.roughness = 0.52;
obj.data{histIndex}.lighting.fresnel = 0.2;
obj.data{histIndex}.lighting.vertexnormalsepsilon = 1e-12;
obj.data{histIndex}.lighting.facenormalsepsilon = 1e-6;

%---------------------------------------------------------------------%

%-aspect ratio-%
ar = obj.PlotOptions.AspectRatio;

Expand Down