##// END OF EJS Templates
Ajuste de los graficos Spectra y RTI para el caso en que no se grafiquen los perfiles de potencia
Daniel Valdez -
r271:0b4cc89b3407
parent child
Show More
@@ -214,15 +214,19 class RTIPlot(Figure):
214
214
215 ncolspan = 1
215 ncolspan = 1
216 colspan = 1
216 colspan = 1
217 widthplot = self.WIDTH
218 heightplot = self.HEIGHT
217 if showprofile:
219 if showprofile:
218 ncolspan = 7
220 ncolspan = 7
219 colspan = 6
221 colspan = 6
220 self.__nsubplots = 2
222 self.__nsubplots = 2
223 widthplot += self.WIDTHPROF
224 heightplot += self.HEIGHTPROF
221
225
222 self.createFigure(idfigure = idfigure,
226 self.createFigure(idfigure = idfigure,
223 wintitle = wintitle,
227 wintitle = wintitle,
224 widthplot = self.WIDTH + self.WIDTHPROF,
228 widthplot = widthplot,
225 heightplot = self.HEIGHT + self.HEIGHTPROF)
229 heightplot = heightplot)
226
230
227 nrow, ncol = self.getSubplots()
231 nrow, ncol = self.getSubplots()
228
232
@@ -396,15 +400,19 class SpectraPlot(Figure):
396
400
397 ncolspan = 1
401 ncolspan = 1
398 colspan = 1
402 colspan = 1
403 widthplot = self.WIDTH
404 heightplot = self.HEIGHT
399 if showprofile:
405 if showprofile:
400 ncolspan = 3
406 ncolspan = 3
401 colspan = 2
407 colspan = 2
402 self.__nsubplots = 2
408 self.__nsubplots = 2
403
409 widthplot += self.WIDTHPROF
410 heightplot += self.HEIGHTPROF
411
404 self.createFigure(idfigure = idfigure,
412 self.createFigure(idfigure = idfigure,
405 wintitle = wintitle,
413 wintitle = wintitle,
406 widthplot = self.WIDTH + self.WIDTHPROF,
414 widthplot = widthplot,
407 heightplot = self.HEIGHT + self.HEIGHTPROF)
415 heightplot = heightplot)
408
416
409 nrow, ncol = self.getSubplots()
417 nrow, ncol = self.getSubplots()
410
418
General Comments 0
You need to be logged in to leave comments. Login now