From 62cbf895a831f1bcba8535a2cc871f98dbf48d57 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Wed, 25 May 2022 16:45:23 -0600 Subject: [PATCH] mca plots --- notebooks/witzit-plot.ipynb | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/notebooks/witzit-plot.ipynb b/notebooks/witzit-plot.ipynb index 3c4901a..bf99520 100644 --- a/notebooks/witzit-plot.ipynb +++ b/notebooks/witzit-plot.ipynb @@ -3,7 +3,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [] + }, "outputs": [], "source": [ "# witzit-plot --- What In The Zap Is That? AI categorization of spectra from LIBS/XRF analyzers.\n", @@ -64,7 +66,16 @@ "metadata": {}, "outputs": [], "source": [ - "df.plot(y=\"2048\", x=\"energy (eV)\")" + "df.plot.line(y=\"2048\", ylabel='Counts', x=\"energy (eV)\", xlabel='energy (eV)', figsize=(28, 15), legend=False)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "df.plot.scatter(y=\"2048\", ylabel='Counts', x=\"energy (eV)\", xlabel='energy (eV)', figsize=(30,15))" ] } ],