sharex
This commit is contained in:
parent
e4dd65c064
commit
ebe8b7e028
|
@ -24,7 +24,9 @@ prepare
|
||||||
for I in job_similarities_*.csv ; do
|
for I in job_similarities_*.csv ; do
|
||||||
rm *.png *.pdf
|
rm *.png *.pdf
|
||||||
echo "processing $I"
|
echo "processing $I"
|
||||||
./scripts/plot.R $I > description.txt 2>&1
|
set -x
|
||||||
|
./scripts/plot.R $I > description.txt 2>&1
|
||||||
|
set +x
|
||||||
OUT=${I%%.csv}-out
|
OUT=${I%%.csv}-out
|
||||||
mkdir $OUT
|
mkdir $OUT
|
||||||
if [[ $CLEAN != "0" ]] ; then
|
if [[ $CLEAN != "0" ]] ; then
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
|
|
||||||
mkdir fig
|
mkdir fig
|
||||||
for job in 5024292 4296426 7488914 ; do
|
for job in 5024292 4296426 7488914 ; do
|
||||||
./scripts/plot-single-job.py $job "fig/job-"
|
#./scripts/plot-single-job.py $job "fig/job-"
|
||||||
|
./scripts/plot-single-ks-jobs.py $job "fig/job-"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Remove whitespace around jobs
|
# Remove whitespace around jobs
|
||||||
|
|
|
@ -114,7 +114,8 @@ def plot(prefix, header, row):
|
||||||
#bins = np.linspace(0, 60, 13)
|
#bins = np.linspace(0, 60, 13)
|
||||||
#g.map(plt.hist, "total_bill", color="steelblue", bins=bins)
|
#g.map(plt.hist, "total_bill", color="steelblue", bins=bins)
|
||||||
|
|
||||||
ax = metrics.hist(sharex=True, grid = True, sharey=True, figsize=fsizeHist, bins=10)
|
#ax = metrics.hist(sharex=True, grid = True, sharey=True, figsize=fsizeHist, bins=10)
|
||||||
|
ax = metrics.hist(grid = True, sharey=True, figsize=fsizeHist, bins=10)
|
||||||
pyplot.savefig(prefix + "hist" + jobid + fileformat, bbox_inches='tight', dpi=150)
|
pyplot.savefig(prefix + "hist" + jobid + fileformat, bbox_inches='tight', dpi=150)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue