##// END OF EJS Templates
fix faraday plots
rflores -
r1733:67f6900b4a62
parent child
Show More
@@ -826,7 +826,7 class SpectrogramPlot(Plot):
826 826 cmap=plt.get_cmap(self.colormap)
827 827 )
828 828 else:
829 ax.collections.remove(ax.collections[0])
829 ax.plt.remove()
830 830 ax.plt = ax.pcolormesh(x, y, z[n].T,
831 831 vmin=self.zmin,
832 832 vmax=self.zmax,
@@ -54,7 +54,7 class RTIDPPlot(RTIPlot):
54 54 data = {}
55 55 meta = {}
56 56 data[self.CODE] = dataOut.data_for_RTI_DP
57 data['NRANGE'] = dataOut.NDP
57 data['NRANGE'] = dataOut.NDP
58 58
59 59 return data, meta
60 60
@@ -90,7 +90,7 class RTIDPPlot(RTIPlot):
90 90 else:
91 91 if self.zlimits is not None:
92 92 self.zmin, self.zmax = self.zlimits[n]
93 ax.collections.remove(ax.collections[0])
93 ax.plt.remove()
94 94 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
95 95 vmin=self.zmin,
96 96 vmax=self.zmax,
@@ -177,7 +177,7 class RTILPPlot(RTIPlot):
177 177 else:
178 178 if self.zlimits is not None:
179 179 self.zmin, self.zmax = self.zlimits[n]
180 ax.collections.remove(ax.collections[0])
180 ax.plt.remove()
181 181 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
182 182 vmin=self.zmin,
183 183 vmax=self.zmax,
@@ -259,7 +259,7 class DenRTIPlot(RTIPlot):
259 259 else:
260 260 if self.zlimits is not None:
261 261 self.zmin, self.zmax = self.zlimits[n]
262 ax.collections.remove(ax.collections[0])
262 ax.plt.remove()
263 263 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
264 264 vmin=self.zmin,
265 265 vmax=self.zmax,
@@ -346,7 +346,7 class ETempRTIPlot(RTIPlot):
346 346 else:
347 347 if self.zlimits is not None:
348 348 self.zmin, self.zmax = self.zlimits[n]
349 ax.collections.remove(ax.collections[0])
349 ax.plt.remove()
350 350 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
351 351 vmin=self.zmin,
352 352 vmax=self.zmax,
@@ -1048,7 +1048,7 class ACFsPlot(Plot):
1048 1048 ax.plot(BadLag1[i,x_igcej_aux],BadHei1[i,y_igcej_aux],'x',color='red',markersize=2)
1049 1049 ax.plot(BadLag2[i,x_ibad_aux],BadHei2[i,y_ibad_aux],'X',color='red',markersize=2)
1050 1050 ax.yaxis.set_minor_locator(MultipleLocator(15))
1051
1051
1052 1052 class ACFsLPPlot(Plot):
1053 1053 '''
1054 1054 Written by R. Flores
General Comments 0
You need to be logged in to leave comments. Login now