I cannot help you with making matplotlib create smaller files but sam2p is an image conversion program that creates small files. You might be able to convert your file to make it smaller.

Bill

[EMAIL PROTECTED] wrote:
Hi,

The following plot

  
from numarray import *
x = arange(80000)
from pylab import plot,show
plot(x,x)
show()
        

and saving in postscript format generated a file of 1.5MB, while the equivalent is 
only 288KB in xmgrace (another plotting program). If I use plot(x,x,"k,"), this
even leads to a horrible 8.0MB. How come? I understand there is an issue 
with the fonts, but this can't be the only responsible, can it? Plotting no points, 
just a title, and saving in postscript leads to a file size of only 133KB.

FWIW, I'm trying to make postscript plots using Python 2.4.1, latest numarray, 
and matplotlib 0.83.2.

Cheers,
Joris



Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

  

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to