diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-17 21:31:54 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-17 21:31:54 +0100 |
| commit | 488707a834899a2aee23532e55bd662c9d3b5fd6 (patch) | |
| tree | 6695c1fc246de06189a90c4dfc858437db8e412d /Kod/bilbana/yc4/display/bar_graph.m | |
| parent | d86e80be733c5081d72bbecd76aeb2b796d2e74b (diff) | |
| download | tfyy51-488707a834899a2aee23532e55bd662c9d3b5fd6.tar.gz | |
rename some functions
Diffstat (limited to 'Kod/bilbana/yc4/display/bar_graph.m')
| -rw-r--r-- | Kod/bilbana/yc4/display/bar_graph.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Kod/bilbana/yc4/display/bar_graph.m b/Kod/bilbana/yc4/display/bar_graph.m new file mode 100644 index 0000000..e7c4b2c --- /dev/null +++ b/Kod/bilbana/yc4/display/bar_graph.m @@ -0,0 +1,7 @@ +function pkg = bar_graph(direction, no, x1, y1, x2, y2, start_value, end_value, type, pattern) +pkg = [] +args = [no, get_bytes(x1), get_bytes(y1), get_bytes(x2), get_bytes(y2)] +args = [args, start_value, end_value, type, pattern] %TODO get_bytes or no ? + +pkg = get_package(strjoin({'B', direction}, ''), args) +end |
