Plotting changes.

Mon, 06 Nov 2017 16:01:35 +0200

author
Iannis <i.binietoglou@impworks.gr>
date
Mon, 06 Nov 2017 16:01:35 +0200
changeset 81
b6602134d40f
parent 61
d01c4cf7ea67
child 82
01fdb725ca59

Plotting changes.

atmospheric_lidar/generic.py file | annotate | diff | comparison | revisions
--- a/atmospheric_lidar/generic.py	Sun Feb 26 15:57:17 2017 +0200
+++ b/atmospheric_lidar/generic.py	Mon Nov 06 16:01:35 2017 +0200
@@ -593,11 +593,11 @@
         return prof
 
     def plot(self, signal_type='rc', filename=None, zoom=[0, 12000, 0, -1], show_plot=True, cmap=plt.cm.jet, z0=None,
-             title=None, vmin=0, vmax=1.3 * 10 ** 7):
+             title=None, vmin=0, vmax=1.3 * 10 ** 7, figsize=(8, 4)):
         # if filename is not None:
         #    matplotlib.use('Agg')
 
-        fig = plt.figure()
+        fig = plt.figure(figsize=figsize)
         ax1 = fig.add_subplot(111)
         self.draw_plot(ax1, cmap=cmap, signal_type=signal_type, zoom=zoom, z0=z0, vmin=vmin, vmax=vmax)
 

mercurial