Hi,
for my thesis I have a laaaaarge number of plots generated
by--again--a laaaaaaarge number of Python scripts.
Now I need a moderate font size for all of them for the thesis while
for a presentation and poster it needs to be much bigger.
In order to keep track of all the plots and files I use a script which
just calls them and copies the relevant files to a folder:
import pylab, shutil, subprocess
cwd = os.getcwd()
dest = './pyplots/'
p20 = '../20_Glasses+Liquids/'
p21 = '../21_LensDesign/'
p22 = '../22_comsol/'
p23 = '../23_OSLO/'
p23_glc = '../23_OSLO/OSLO_glc/'
def main():
runP20()
def runP20():
os.chdir(p20)
subprocess.call([sys.executable, 'Generic_OpticalLiquids.py'])
os.chdir(cwd)
shutil.copy(p20+'Generic_OpticalLiquids_n-V.pdf', dest)
This might be a very clumsy approach but I find it very helpful. The
problem is that changing any rcParam has no effect on the created
files, opposed to using execfile instead of subprocess.call().
What can I do to change plot settings globally for that task?
Thanks in advance,
Daniel