Skip to content

Fix issues and awesome improve the bar3 functionality#373

Merged
gilbertogalvis merged 2 commits intomasterfrom
fix_issues_and_awesome_improve_the_bar3_functionality
Sep 10, 2021
Merged

Fix issues and awesome improve the bar3 functionality#373
gilbertogalvis merged 2 commits intomasterfrom
fix_issues_and_awesome_improve_the_bar3_functionality

Conversation

@gilbertogalvis
Copy link
Copy Markdown
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