Feature Requests item #1495063, was opened at 2006-05-25 13:27 Message generated for change (Comment added) made by jguyer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=681144&aid=1495063&group_id=118428
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interface Improvements (example) Group: None Status: Open Resolution: None Priority: 5 Submitted By: Bjorn Hansen (holomorph) Assigned to: Nobody/Anonymous (nobody) Summary: Choos contour plot options (matplotlib) Initial Comment: It would be nice to be able to choose the color spectrum that the matplotlib viewer (and possibly others, but I haven't used them) uses without having to modify the fipy source or subclassing the viewer. If this is not easily done in an elegant fashion, I think 'jet' is a much better default colormap than 'hsv'. It would also be nice to be able to choose between filled plots (contourf) and line plots (contour). I'm not sure the best way to do it. It would also be handy to be able to choose the number of contours; I've submitted a patch which adds functionality in the matplotlib viewer, but suspect it might be useful in other viewers as well. ---------------------------------------------------------------------- >Comment By: Jonathan E. Guyer (jguyer) Date: 2006-05-30 12:27 Message: Logged In: YES user_id=121894 Thanks for the suggestions and for your code contribution in https:// sourceforge.net/tracker/? func=detail&atid=681143&aid=1495059&group_id=118428 Fundamentally, we designed the viewer classes such that the user would see *something* pretty quickly after installing FiPy. Maybe not pretty and publication-quality, but something. We need to make sure that all the viewers work the same, at least for basic usage, because they'll generally be created with viewers.make() and we want the examples to always work, no matter what different users choose to install. I agree though that, if you know you have a particular viewer, that we should try to make it as easy as possible to customize. Adding specialized keywords to plot() may be the right approach, but sometimes, I think subclassing is exactly the right way to go about that; we just need to make sure that subclassing isn't too complicated, which presently it probably is. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=681144&aid=1495063&group_id=118428
