Very Minor Detail: Colorbar Label Replacement for Figures 10.9–10.10 (Pages 353–354)

Open Beginner friendly
#253 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
82/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
matlab
Domain
documentation

Research direction

Start with the Exercise 10.7 replacement instructions and the code around lines 25 and 30 on page 353. Update the instructions to include changing the colorbar label to “Squared Mahalanobis distance” when generating Figures 10.9 and 10.10; done means the instructions match the label shown in Figure 10.9.

Written by the indexing model from the issue text.

Description

Dear Professors,

image

while reviewing Exercise 10.7 on pages 353–354, I noticed a very minor detail in the code replacement instructions to generate Figures 10.9 and 10.10:

  • Along with replacing d2_Euclidean with d2_mahal in scatter(...), it might be helpful to also mention updating ylabel(hb, 'Squared Euclidean Distance') (from lines 25 and 30 on page 353) to ylabel(hb, 'Squared Mahalanobis distance'), matching the actual colorbar label shown in Figure 10.9 on page 354

thanks a lot 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UniprJRC/DSwithMATLAB

All issues in UniprJRC/DSwithMATLAB

Similar issues

More MATLAB issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.