update some plots with white background
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -8,7 +8,8 @@ lognum = 2
|
||||
|
||||
plt.ioff()
|
||||
plt.style.use('bmh')
|
||||
plt.figure(figsize=(11.88, 8.40))
|
||||
plt.rcParams['axes.facecolor'] = 'white'
|
||||
plt.figure(figsize=(8,6))
|
||||
data = pd.read_csv("./log_poticalib_ana_{:02d}.csv".format(lognum))
|
||||
|
||||
print(data)
|
||||
@@ -58,5 +59,4 @@ plt.title("PowerIt Calibration: Analog Potentiometer")
|
||||
plt.legend()
|
||||
#-plt.savefig("2kw_direct.png")
|
||||
|
||||
plt.tight_layout()
|
||||
plt.savefig("adccalib_{:02d}.eps".format(lognum), format='eps', dpi=1000)
|
||||
plt.savefig("adccalib_{:02d}.pdf".format(lognum))
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -21,8 +21,8 @@ plt.rcParams['axes.facecolor'] = 'white'
|
||||
fig, axarr = plt.subplots(
|
||||
2,
|
||||
1,
|
||||
figsize=(10, 8),
|
||||
gridspec_kw={'height_ratios':[4, 1]}
|
||||
figsize=(8, 6),
|
||||
gridspec_kw={'height_ratios':[4, .8]}
|
||||
)
|
||||
plt.subplots_adjust(hspace=.5)
|
||||
data = pd.read_csv("./" + __file__[:-3].split("_")[1] + append + ".csv", comment="#")
|
||||
@@ -96,7 +96,6 @@ axarr[0].legend(
|
||||
ncol=3)
|
||||
plt.savefig(
|
||||
"./" + __file__[:-3].split("_")[1] + append + ".pdf",
|
||||
dpi=1000,
|
||||
bbox_inches='tight')
|
||||
dpi=1000)
|
||||
|
||||
vtt.unc_tolatex(fits[0], "0")
|
||||
|
||||
Reference in New Issue
Block a user