3 ms·
Time should be on the x-axis. Independent variables on the x-axis and dependent variables on the y. EDIT: To clarify, plotting 'seconds' over 'items per second
by jamesrom 12y ago
Time should be on the x-axis. Independent variables on the x-axis and dependent variables on the y.
EDIT: To clarify, plotting 'seconds' over 'items per second' is needlessly confusing.
- nmjohn 12y ago> Time should be on the x-axis. Independent variables on the x-axis and dependent variables on the y. The graph is correct - the independent variables in this case are the number of items in the array (the x axis) and the library being tested (each line). The dependent variable in this case is time - which is why it is on the y axis.
- deleted 12y ago[deleted]
- dancole 12y ago>> Independent variables on the x-axis and dependent variables on the y. Correct. The independent variable being the number of items and the dependent variable being the time it takes to run said number of items. >> Time should be on the x-axis. Time should be on the y-axis. It's the time it takes to execute, given a set of items.
- deleted 12y ago[deleted]
- XaspR8d 12y agoIt's simply plotting 'seconds' over 'items'. Neither axis is a compound unit.
- mattdeboard 12y agoI think you're just confused. From the post: > The graph below shows the time it took to run versus the size of [the array]