Skip to content

Fix issues and awesome improve the bar3 functionality #373

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

Conversation

gilbertogalvis
Copy link
Contributor

This PR fix issues and improve the bar3 functionality. bar3 previous version was very poor. This new version is really awesome. This PR was tested for all examples in https://github.com/plotly/ssim_baselines/tree/main/matlab/code-examples/discrete-data-plots/bar3

It is very important to highlight that to use this new functionality TreatAs optional parameter must set to bar3. Example of usage bellow

load count.dat
Z = count(1:10,:);
figure
bar3(Z,'stacked')
title('Stacked Style');

f = fig2plotly(gcf, 'offline', 0, 'TreatAs', 'bar3');

Screenshots of results are shown bellow

Screen Shot 2021-09-10 at 11 56 38 AM

Screen Shot 2021-09-10 at 11 56 56 AM

Screen Shot 2021-09-10 at 11 57 14 AM

Screen Shot 2021-09-10 at 11 57 31 AM

links to Chart-Studio:

https://chart-studio.plotly.com/~galvisgilberto/4176/detached-style/#/
https://chart-studio.plotly.com/~galvisgilberto/4178/bar-width-of-05/#/
https://chart-studio.plotly.com/~galvisgilberto/4180/grouped-style/#/
https://chart-studio.plotly.com/~galvisgilberto/4182/stacked-style/#/

@gilbertogalvis gilbertogalvis merged commit ea4b3b5 into master Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants