Skip to content

text annotation levels added working with heatmap. Another axis improvements #367

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

Conversation

gilbertogalvis
Copy link
Contributor

This PR improve greatly the work with heatmap function. With this the text annotations levels were added to the plots. It works very well for examples in https://github.com/plotly/ssim_baselines/tree/main/matlab/code-examples/data-distribution-plots/heatmap

Example of usage:

load patients
tbl = table(LastName,Age,Gender,SelfAssessedHealthStatus,...
    Smoker,Weight,Location);
h = heatmap(tbl,'Smoker','SelfAssessedHealthStatus');

mf = gcf;
f = fig2plotly(mf, 'offline', 0); 

Attach result examples bellow
Screen Shot 2021-08-31 at 4 52 14 PM
Screen Shot 2021-08-31 at 4 53 35 PM
Screen Shot 2021-08-31 at 4 58 23 PM
Screen Shot 2021-08-31 at 4 59 13 PM
Screen Shot 2021-08-31 at 5 01 45 PM
Screen Shot 2021-08-31 at 5 02 27 PM
Screen Shot 2021-08-31 at 5 03 46 PM
Screen Shot 2021-08-31 at 5 04 53 PM

link to chart-studio

https://chart-studio.plotly.com/~galvisgilberto/3832/#/
https://chart-studio.plotly.com/~galvisgilberto/3836/#/
https://chart-studio.plotly.com/~galvisgilberto/3840/#/
https://chart-studio.plotly.com/~galvisgilberto/3842/#/
https://chart-studio.plotly.com/~galvisgilberto/3844/#/
https://chart-studio.plotly.com/~galvisgilberto/3846/#/
https://chart-studio.plotly.com/~galvisgilberto/3848/#/
https://chart-studio.plotly.com/~galvisgilberto/3850/#/

@gilbertogalvis gilbertogalvis merged commit 6fbdb71 into master Sep 3, 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