Fix graph colours.
This commit is contained in:
parent
0a7f5e20d4
commit
968dcbd4b8
graph
plots
Computation_Time___1_bit_Block_Size.pdfNetwork_Traffic___1_bit_Block_Size.pdfTotal_Simulated_Time_Heatmap__Balanced_XOR___Varying_Database_Size_and_Block_Size___10Mbit_s.pdfTotal_Simulated_Time_Heatmap__Send_All___Varying_Database_Size_and_Block_Size___10Mbit_s.pdfTotal_Simulated_Time_Heatmap__Send_All_vs_Balanced_XOR___Varying_Database_Size_and_Block_Size___10_Mbit_s.pdfTotal_Simulated_Time_Heatmap__XOR___Varying_Database_Size_and_Block_Size___10Mbit_s.pdfTotal_Simulated_Time_Heatmap__XOR_vs_Balanced_XOR___Varying_Database_Size_and_Block_Size___10_Mbit_s.pdfTotal_Time_with_Simulated_Bandwidth___1_bit_Block_Size.pdf
util.py
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -40,7 +40,7 @@ def heatmap(data, row_labels, col_labels, ax=None,
|
||||||
if logcolor:
|
if logcolor:
|
||||||
pcm = ax.pcolor(data,
|
pcm = ax.pcolor(data,
|
||||||
norm=colors.LogNorm(vmin=data.min(), vmax=data.max()),
|
norm=colors.LogNorm(vmin=data.min(), vmax=data.max()),
|
||||||
cmap='Blues')
|
cmap='Reds')
|
||||||
cbar = ax.figure.colorbar(pcm, ax=ax, extend="max", ticks=LogLocator(base=2), format=LogFormatterSciNotation(base=2))
|
cbar = ax.figure.colorbar(pcm, ax=ax, extend="max", ticks=LogLocator(base=2), format=LogFormatterSciNotation(base=2))
|
||||||
elif sym_logcolor:
|
elif sym_logcolor:
|
||||||
linthresh = 1.0
|
linthresh = 1.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user