Source code :: main

[Return]
[Download]#!/usr/bin/python2 # -*- coding: utf-8 -*- import matplotlib matplotlib.rcParams['backend'] = 'Agg' matplotlib.rc('font', size='10') matplotlib.rc('text', usetex=True) # FIXME !! nicer but slower !!! from numpy import * #from pygolem_lite.config import * from pygolem_lite.modules import * #from matplotlib.pyplot import * import time from shutil import copy import os, sys def graphs(): out = get_data('Time_AD4ETHb', ['U$_{B}$', 'U$_{BD}$', 'U$_{CD}$','U$_{ST}$'], 'U [V]', xlabel = 'Time [s]', columns = [0,1,2,3], tvec_rescale = 1, ylim = [0, None], xlim = [0,None], plot_limits = False ) paralel_multiplot(out, 'Charging log' , 'charging', (9,7) ) out = get_data('Time_AD4ETHb', 'Pressure', 'p [mPa]', xlabel = 'Time [s]', columns = [4],tvec_rescale = 1, ylim = [0, None], xlim = [0,None], plot_limits = False ) paralel_multiplot(out, 'Pressure log' , 'pressure', (9,2.5) ) def main(): graphs() if __name__ == "__main__": main()[Return]

Navigation