コード例 #1
0
    def plot(self):
        """Plot from memory."""
        if len(self.frames) == 0:  # No frames to plot
            print "No frames to plot.  Did you forget to run, or to set keep_copy=True?"
            return

        from clawpack.visclaw import iplot

        if self.plotdata is None:
            self.set_plotdata()

        ip = iplot.Iplot(self.load_frame, self.plot_frame)
        ip.plotloop()
コード例 #2
0
ファイル: euler_2d.py プロジェクト: yoon-gu/pyclaw
def plot_results():
    from clawpack.visclaw import iplot
    ip = iplot.Iplot(load_frame, plot_frame)
    ip.plotloop()