Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Visualize an IR Spectrum | Spectra and Reaction Analysis
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Chemists

bookChallenge: Visualize an IR Spectrum

Task

Swipe to start coding

Create a function that plots an IR spectrum using provided arrays of wavenumbers and absorbance values.

  • Plot the absorbance values against the wavenumbers.
  • Label the x-axis as "Wavenumber (cm$^{-1}$)".
  • Label the y-axis as "Absorbance".
  • Set the plot title to "IR Spectrum".
  • Invert the x-axis so wavenumbers decrease from left to right.
  • Ensure the plot is ready for publication-quality presentation.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 2
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

bookChallenge: Visualize an IR Spectrum

Swipe to show menu

Task

Swipe to start coding

Create a function that plots an IR spectrum using provided arrays of wavenumbers and absorbance values.

  • Plot the absorbance values against the wavenumbers.
  • Label the x-axis as "Wavenumber (cm$^{-1}$)".
  • Label the y-axis as "Absorbance".
  • Set the plot title to "IR Spectrum".
  • Invert the x-axis so wavenumbers decrease from left to right.
  • Ensure the plot is ready for publication-quality presentation.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 2
single

single

some-alt