Challenge: Compare Absorbance Spectra
Oppgave
Swipe to start coding
Given two sets of wavelength and absorbance data, plot both absorbance spectra on a single graph to visually compare the samples.
- Plot the first set of absorbance values against its wavelengths as a line on the graph.
- Plot the second set of absorbance values against its wavelengths as a separate line on the same graph.
- Use different colors for each line.
- Add a legend to distinguish between the two samples.
- Label the x-axis as "Wavelength (nm)" and the y-axis as "Absorbance".
- Add a title to the graph.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 5.26
Challenge: Compare Absorbance Spectra
Sveip for å vise menyen
Oppgave
Swipe to start coding
Given two sets of wavelength and absorbance data, plot both absorbance spectra on a single graph to visually compare the samples.
- Plot the first set of absorbance values against its wavelengths as a line on the graph.
- Plot the second set of absorbance values against its wavelengths as a separate line on the same graph.
- Use different colors for each line.
- Add a legend to distinguish between the two samples.
- Label the x-axis as "Wavelength (nm)" and the y-axis as "Absorbance".
- Add a title to the graph.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 6
single