i have some values that i want to graph on a figure. This is for traffic signals.
example
%Road 1 Phase
Green Road 1 = 50; %sec
Yellow Road 1 = 5; %sec Red Road 1 = 25; %sec %Road 2 Phase
Red Road 2 = 50; %sec Green Road 2 = 25; %sec Yellow Road 2 = 5; %sec
i would like to show them graphically on the same figure showing both phases in relation to each other, something like a horizontal bar chart with time along the x axis, there is nothing to plot in the y direction.
Bar 1Green Road 1 + Yellow Road 1 + Red Road 1Bar 2Red Road 2 + Green Road 2 + Yellow Road 2
Best Answer