diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-25 12:34:32 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-25 12:34:32 +0100 |
| commit | 2246ff7466c252dff4e22ed894dee3f152f0f4e1 (patch) | |
| tree | 93413bd113aac4d16a4713ed2e2d879ecc692ee8 /Kod/bilbana/yc4/display/scenes/draw_segment_bars.m | |
| parent | 28de2319217341f7dd2ce8b8ecc091328a60eeaa (diff) | |
| download | tfyy51-2246ff7466c252dff4e22ed894dee3f152f0f4e1.tar.gz | |
Changes
- Add semicolons
- Fix clamp
- Fix syntax
- Make testing (somewhat) modular
Diffstat (limited to 'Kod/bilbana/yc4/display/scenes/draw_segment_bars.m')
| -rw-r--r-- | Kod/bilbana/yc4/display/scenes/draw_segment_bars.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kod/bilbana/yc4/display/scenes/draw_segment_bars.m b/Kod/bilbana/yc4/display/scenes/draw_segment_bars.m index f34aa04..6df2dab 100644 --- a/Kod/bilbana/yc4/display/scenes/draw_segment_bars.m +++ b/Kod/bilbana/yc4/display/scenes/draw_segment_bars.m @@ -36,8 +36,8 @@ end for i = 0:8 x = 16+13 + 10 + 30*i; - queue = [queue put_text(x, 204, 'C', num2str(i + 1))] - if i == 4 or i == 8 + queue = [queue put_text(x, 204, 'C', num2str(i + 1))]; + if i == 4 || i == 8 matlabclient(1, get_smallpackage(queue)); queue = []; pause(dt); |
