On Thu, Feb 16, 2012 at 1:53 PM, Jeffrey Blackburne <
jblackbu...@alum.mit.edu> wrote:
> Hi William,
>
> I am fairly certain that matplotlib does not have the capability to
> do what you are looking for. (If I am wrong, I'm sure someone will
> correct me.)
>
> You may have better luck using something like Scribus or Inkscape.
>
> Best,
> Jeff
>
>
William,
This is correct. Matplotlib currently has no import feature available.
Along these lines has been several requests for an ability to import Matlab
.fig files as well. I believe the official position is that matplotlib is
primarily an exporter library, not an importer library. The exception to
this rule appears to be imread()...
There is absolutely no reason why a module could not be made for this,
given that everything in matplotlib is assumed to be vector-based. You
just need a library that can load up the data in the SVG file into
information that is sensibly organized. Then you run through that data,
producing the relevant artists and collections, adding them to the axes
object.
Maybe pySVG might be a good start?
Cheers!
Ben Root
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users