Example #1
0
 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
Example #2
0
 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