BGPLVM MRD Examples and plotting adjustments

This commit is contained in:
Max Zwiessele 2013-05-08 15:37:21 +01:00
parent 2d9ecaa042
commit 65ead17ff5
3 changed files with 90 additions and 53 deletions

View file

@ -287,6 +287,9 @@ class MRD(model):
else:
return pylab.gcf()
def plot_X_1d(self):
return self.gref.plot_X_1d()
def plot_X(self, fig_num="MRD Predictions", axes=None):
fig = self._handle_plotting(fig_num, axes, lambda i, g, ax: ax.imshow(g.X))
return fig