Placing a label on a spectrum in axes coordinates

A spectrometer plot has its x-axis set with ax.set_xlim(200, 700), in nanometres, on a linear scale. You want to place a text label directly above the 532 nm laser line using textcoords="axes fraction". What horizontal axes fraction should the text have? Give your answer as a dimensionless number to three decimal places.

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 Formatting Plots Questions: