Skip to content

Commit

Permalink
Add one Q for matlab-quiz.md (#2269)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehudbehar authored Sep 23, 2021
1 parent 6a6b610 commit 4f1f8da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions matlab/matlab-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -895,3 +895,10 @@ a =
- [ ]

[Reference](https://mathworks.com/company/newsletters/articles/matrix-indexing-in-matlab.html)

#### Q56. You've just plotted some data and want to change the color behind the lines you've plotted to black. Which code block will accomplish this?

- [ ] `h_f = figure; set(h_f,'Color', [0 0 0]);`
- [x] `h_a = gca; set(h_a,'Color', [0 0 0]);`
- [ ] `h_a = axes; set(h_a,'Color', [0 0 0]);`
- [ ] `h_f = gcf; set(h_a,'Color', [0 0 0]);`

0 comments on commit 4f1f8da

Please sign in to comment.