Skip to content

Commit

Permalink
Revert some settings for non-print quality
Browse files Browse the repository at this point in the history
  • Loading branch information
mandli committed Jul 23, 2013
1 parent 7ead494 commit 12d3cf0
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 20 deletions.
18 changes: 13 additions & 5 deletions 1d/internal_lapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,18 @@ def internal_lapping(num_cells,eigen_method,**kargs):
eig_methods = [1,2,3,4]

# Resolutions for tests
resolutions = [64,128,256,512,1024,5000]

# Run for comparison runs
# Display runs
resolution = 128
for method in eig_methods:
for resolution in resolutions:
print "Running internal lapping, eigen=%s resolution=%s" % (method,resolution)
internal_lapping(resolution,method,iplot=False,htmlplot=True)
print "Running internal lapping, eigen=%s resolution=%s" % (method,resolution)
internal_lapping(resolution,method,iplot=False,htmlplot=True)

# # Resolutions for tests
# resolutions = [64,128,256,512,1024,5000]

# # Run for comparison runs
# for method in eig_methods:
# for resolution in resolutions:
# print "Running internal lapping, eigen=%s resolution=%s" % (method,resolution)
# internal_lapping(resolution,method,iplot=False,htmlplot=True)
5 changes: 3 additions & 2 deletions 1d/setplot_lapping.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

# DPI of output images
matplotlib.rcParams['savefig.dpi'] = 100
# matplotlib.rcParams['savefig.dpi'] = 300 # Print quality

# Need to do this after the above
import matplotlib.pyplot as mpl
Expand Down Expand Up @@ -268,8 +269,8 @@ def twin_axes_zoomed(cd):

plotdata.printfigs = True # print figures
plotdata.print_format = 'png' # file format
# plotdata.print_framenos = [0,25,50] # list of frames to print
plotdata.print_framenos = 'all' # list of frames to print
plotdata.print_framenos = [0,25,50] # list of frames to print
# plotdata.print_framenos = 'all' # list of frames to print
plotdata.print_fignos = 'all' # list of figures to print
plotdata.html = True # create html files of plots?
plotdata.html_homelink = '../README.html' # pointer for top of index
Expand Down
1 change: 1 addition & 0 deletions 1d/setplot_wave_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
matplotlib.rcParams['ytick.labelsize'] = 12

# DPI of output images
# matplotlib.rcParams['savefig.dpi'] = 300 # Publication quality
matplotlib.rcParams['savefig.dpi'] = 100

# Need to do this after the above
Expand Down
1 change: 1 addition & 0 deletions 1d/setplot_well_balanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

# DPI of output images
matplotlib.rcParams['savefig.dpi'] = 100
# matplotlib.rcParams['savefig.dpi'] = 300 # Publication quality

# Need to do this after the above
import matplotlib.pyplot as mpl
Expand Down
26 changes: 13 additions & 13 deletions 1d/wave_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,20 +153,20 @@ def wave_family(num_cells,eigen_method,wave_family,dry_state=True,**kargs):
eig_methods = [1,2,3,4]

# Display runs
# resolution = 500
# for family in [3,4]:
# for dry_state in [False,True]:
# for method in eig_methods:
# print "Running family=%s dry=%s eigen=%s resolution=%s" % (family,dry_state,method,resolution)
# wave_family(resolution,method,family,dry_state,iplot=False,htmlplot=True)
resolution = 500
for family in [3,4]:
for dry_state in [False,True]:
for method in eig_methods:
print "Running family=%s dry=%s eigen=%s resolution=%s" % (family,dry_state,method,resolution)
wave_family(resolution,method,family,dry_state,iplot=False,htmlplot=True)

# Resolutions for tests
resolutions = [64,128,256,512,1024,5000]
# resolutions = [64,128,256,512,1024,5000]

# Run for comparison runs
for family in [3,4]:
for dry_state in [False,True]:
for method in eig_methods:
for resolution in resolutions:
print "Running family=%s dry=%s eigen=%s resolution=%s" % (family,dry_state,method,resolution)
wave_family(resolution,method,family,dry_state,iplot=False,htmlplot=False)
# for family in [3,4]:
# for dry_state in [False,True]:
# for method in eig_methods:
# for resolution in resolutions:
# print "Running family=%s dry=%s eigen=%s resolution=%s" % (family,dry_state,method,resolution)
# wave_family(resolution,method,family,dry_state,iplot=False,htmlplot=False)

0 comments on commit 12d3cf0

Please sign in to comment.