On Tue, Nov 4, 2014 at 9:59 AM, L.Bryce Whitson Jr. <lwhits...@gmail.com>
wrote:

> OK, probably an easy question, but how do I get markers to show up on
> graphs created using fipy.viewer?
>

Hi Bryce,

If you are using Matplotlib, the viewer instance has the axis attribute so
you can add anything you like to that just as if you are using matplotlib.
For example to change the limits use

    viewer.axes.ylim(ymax=3)

I'm not sure exactly how to change the markers, but it just works like any
other Matplotlib plot.

Also, you don't need to use the viewer objects at all, you can just extract
the array and the cell center arrays and use Matplotlib without the FiPy
viewer if the axes stuff doesn't work.

Cheers,

Daniel

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

Reply via email to