On Mon, Nov 11, 2013 at 4:30 PM, Richard Gillilan <[email protected]> wrote:
> I'm rather new to FiPY too, but my impression is that viewers in FiPy are
> very basic ... really intended only for monitoring results during
> computation. So they don't have any real ability to customize. I'd love to
> learn otherwise.

In a sense that is a true. However you can subclass the viewer. You can
also get the matplotlib axis from the viewer and customize that way.

   >>> import fipy as fp
   >>> vi = fp.Viewer(fp.CellVariable(mesh=fp.Grid1D(nx=10), value =
np.arange(10)))
   >>> vi.axes.set_title("Something")
   >>> vi.axes.set_xlabel("Blah")
   >>> vi.plot()

-- 
Daniel Wheeler
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to