Diagnose missing horizontal coordinates

A cart's distance is recorded at unevenly spaced elapsed times. A student intends to plot elapsed time horizontally and distance vertically but writes the one-argument plotting call below. The plotting area ax already exists.


Python
time_s = [0, 3, 8]
distance_m = [0, 6, 16]
ax.plot(distance_m)


Which statements correctly describe the current call or the proposed replacements? Select every true statement.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Matplotlib Questions: