def getPlot(self,symbol="circle-filled"): xlabel = "stations" ylabel = "elevations" title = "Channel: " + self.channel + " @ dist: " + self.dist legend = "Regular XSect @ dist: " + self.dist color = "red" gridy = 1 gridx = 0 import vutils pl = vutils.xyplot(self.stations,self.elevations, xlabel, ylabel, title, legend, color, symbol, gridy, gridx) return pl
def mkPlot(self, xarray, yarray, xlabel="stations", ylabel="elevations", symbol="circle-filled",color = "red"): """ plots the last parsed irregular x section """ title = "Channel: " + self.channel + " @ dist: " + self.dist legend = "Irregular XSect @ dist: " + self.dist gridy = 1 gridx = 0 import vutils pl = vutils.xyplot(xarray,yarray, xlabel, ylabel, title, legend, color, symbol, gridy, gridx) return pl