<svelte:options runes />
<script>
import { Axes, Box, XAxis, YAxis } from 'svelte-plots-basic/2d';
</script>
<div class="plot-wrapper">
<Axes
limX={[0, 10]}
limY={[0, 1]}
margins={[1.1, 1.2, 0.6, 0.6]}
title="Spectra_(new)"
downloadLinks="hover"
>
<XAxis
label="Wavelength, cm^-1"
showGrid={true}
ticks={[2, 4, 6, 8]}
tickLabels={['λ_2', 'λ_4', 'λ_6', 'λ_8']}
/>
<YAxis
label="Squared absorbance, I^2"
showGrid={true}
/>
<Box />
</Axes>
</div>
<style>
.plot-wrapper {
width: 100%;
height: 100%;
}
</style>