Adding pareto functionality to fig2plotly #372
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR add
pareto
functionality tofig2plotly
library. Previouslypareto
matlab function was not implemented infig2plotly
.This PR was tested for all cases in https://github.com/plotly/ssim_baselines/tree/main/matlab/code-examples/discrete-data-plots/pareto and work perfectly for all cases.
Please test all cases there. Here I attach one example case
Attach bellow screenshots of results
links to Chart-Studio:
https://chart-studio.plotly.com/~galvisgilberto/4132/#/
https://chart-studio.plotly.com/~galvisgilberto/4134/lines-of-code-by-programmer/#/
https://chart-studio.plotly.com/~galvisgilberto/4136/#/
NOTA
It is worth noting that, for this PR, an important change in the
extractAxisData.m
file was introduced, which optimally and automatically sets theticklabels
in the axes. Please check that file for more details on lines 235 to 291