def get_plot_clauses(self): clauses = GNUPlot.get_plot_clauses(self) column = len(self.xvalues) + 1 clauses.append( "'' using %d axis x1y2 with linespoints lc rgb 'black' title column(%d)" % (column, column)) return clauses
def get_plot_clauses(self): clauses = GNUPlot.get_plot_clauses(self) if self.base_year is not None: year = self.base_year else: year = min(self.xvalues) value = self.data[self.series_values[0]][year] clauses.append(str(value) + " linetype '#999999' title ''") return clauses