Label Clipping and Overlap in Bubble Charts (Figures 8.18 and 8.19, Pages 274–275)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- matlab
- Domain
- data-visualization
Research direction
Start from the MATLAB snippet that reproduces Figures 8.18 and 8.19 for Exercises 8.15 and 8.16 (pages 274–275), the code that calls text at (X.PassRate, X.EnrollmentRate). Run it to see the clipping and overlaps, then widen the horizontal limits as the report suggests and offset the colliding labels. Done when "Valle d'Aosta" is fully inside the axes and the paired labels no longer overlap.
Written by the indexing model from the issue text.
Description
Dear Professors,
While reproducing Figures 8.18 and 8.19 for Exercises 8.15 and 8.16 (pages 274–275), I noticed a small visual issue with the regional text labels
- Label Clipping (Figure 8.19, page 275): On the far right of the plot, the label for "Valle d'Aosta" is cut off by the right axis border (
Valle d'Aosta) - Label Overlap (Figures 8.18 & 8.19): Plotting the text labels directly at
(X.PassRate, X.EnrollmentRate)causes several labels to overlap (e.g., Basilicata/Abruzzo and Calabria/Lazio)
(My suggestion) lightly expanding the horizontal axis limits (e.g., adding xlim([54 83]) or xlim([54 84])) in the snippet for Figure 8.19 would prevent "Valle d'Aosta" from being clipped against the right border
Thanks always for the time
- Dominant language
- MATLAB
- Stars
- 30
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UniprJRC/DSwithMATLAB
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
UniprJRC/DSwithMATLAB#243 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
UniprJRC/DSwithMATLAB#242 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
UniprJRC/DSwithMATLAB#241 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
UniprJRC/DSwithMATLAB#240 ·
-
Suggestion for the next edition
Difficulty 1/5 Under an hour Newbie friendliness 72/100
UniprJRC/DSwithMATLAB#236 · 1 comment ·
All issues in UniprJRC/DSwithMATLAB
Similar issues
-
bug priority: p3 size: xs
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Ax/Atb trim the caller's GpuIds in place, so blocksize-1 solvers run on one GPU after the first anglePossibly taken @AnderBiguri claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
mathworks/MATLAB-Coding-Guidelines#7 · 3 comments ·