diff --git a/Cluster_Analysis.ipynb b/Cluster_Analysis.ipynb index e429ba81edd98d9192048ddb07820be95818c8a9..c10821f6b26d5b291101d822ffa86468894fa061 100644 --- a/Cluster_Analysis.ipynb +++ b/Cluster_Analysis.ipynb @@ -42,7 +42,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "There are 5 decisions to make in the set up of the data.\n", + "There are 6 decisions to make in the set up of the data.\n", "\n", "Date Range: Choose a start date and an end date of data that you want to see cluster analysis of. \n", " The format is yyyy-mm-dd\n", @@ -62,7 +62,10 @@ " This would be useful if your bracketing ranges differ greatly from each other.\n", "3. 'log' - all data in the date range and bracketing ranges chosen will be scaled to have log values.\n", " This would be useful if your bracketing ranges create data that is very large and would be easier to\n", - " visualize with log values." + " visualize with log values.\n", + " \n", + " \n", + "2D Histogram X and Y Axes: This will set a min and max for the x and y axes in the 2D histograms of each of the four clusters. All the x and y axes are the same across the 2d histograms. This allows the user to \"zoom\" in or out of the data." ] }, { @@ -95,7 +98,7 @@ "metadata": {}, "outputs": [], "source": [ - "# sets min and max parameters for ReqMemCPU\n", + "# sets min and max parameters for ReqMemCPU - user requested\n", "LowerlimitGB = 0\n", "UpperlimitGB = 150" ] @@ -106,7 +109,7 @@ "metadata": {}, "outputs": [], "source": [ - "# sets min and max parameters for AllocCPUS\n", + "# sets min and max parameters for AllocCPUS - allocated by slurm\n", "LowerlimitAllocCPU = 0\n", "UpperlimitAllocCPU = 260" ] @@ -139,6 +142,26 @@ "Data_Normalization_Choice = 'none'" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 2D Histogram X and Y Axes" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "xaxis_min = 0\n", + "xaxis_max = 140\n", + "\n", + "yaxis_min = 0\n", + "yaxis_max = 100" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -681,12 +704,6 @@ "metadata": {}, "outputs": [], "source": [ - "xaxis_min = 0\n", - "xaxis_max = 140\n", - "\n", - "yaxis_min = 0\n", - "yaxis_max = 100\n", - "\n", "fig = plt.figure()\n", "fig.set_size_inches(20,10)\n", "#fig.tight_layout()\n", @@ -832,7 +849,7 @@ "\n", "\n", "\n", - "# sets the spacing\n", + "# sets the spacing between plots\n", "# top = space between title and graphs - increase number to bring title down and decrease to bring title up\n", "# left = space to the left\n", "# wspace = padding on both sides of graphs\n", @@ -844,15 +861,8 @@ "figure.suptitle('Clusters', fontsize=20)\n", "\n", "\n", - "plt.show()" + "plt.show()\n" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": {