summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/display/bar_graph.m
diff options
context:
space:
mode:
Diffstat (limited to 'Kod/bilbana/yc4/display/bar_graph.m')
-rw-r--r--Kod/bilbana/yc4/display/bar_graph.m6
1 files changed, 6 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..bc04406
--- /dev/null
+++ b/Kod/bilbana/yc4/display/bar_graph.m
@@ -0,0 +1,6 @@
+function pkg = bar_graph(direction, no, x1, y1, x2, y2, start_value, end_value, type, pattern)
+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