Has anyone else noticed a problem when saving an image (png) on windows.
Hard to describe, .. but it seems that if there is lots of data to plot and window size too big, or maximized, it cannot save the full plot data stopping half way. (plot look fine on window). ....  Interesting reducing the window size can get to the point where can save the full image.

Good plot (small window size)
http://members.optusnet.com.au/~steve_geo/MatPlotLibTests/12p5KInternalIR_InputGndGood.png

Failed plot (larger window size)
http://members.optusnet.com.au/~steve_geo/MatPlotLibTests/12p5KInternalIR_InputGndFailed.png

I get the same problem on two different systems:
Windows XP & Python 2.4 & matplotlib & numarray 1.5.2
matplotlib installed from matplotlib-0.87.6.win32-py2.4.exe
matplotlibrc has
backend      : TkAgg
numerix      : numarray  # numpy, Numeric or numarray
interactive  : False      # see

Windows 2000 & Python 2.5 & matplotlib & numpy 1.0
matplotlib installed from matplotlib-0.87.7.win32-py2.5.exe
matplotlibrc has
backend      : TkAgg
numerix      : numpy  # numpy, Numeric or numarray
#interactive  : False      # see http://matplotlib.s

find my data here
http://members.optusnet.com.au/~steve_geo/MatPlotLibTests/ScanDataInternalIR_GndInput.log

and the script here (only tested with numpy and numarray)
http://members.optusnet.com.au/~steve_geo/MatPlotLibTests/irplot24.py

the command to reproduce the test is
irplot24.py --second=fft --target=600000 ScanDataInternalIR_GndInput.log

=================
Also it's also interesting to note the difference in load time (sec) of the data between numarray and numpy for the same data.
Windows 2000 & Python 2.4 & matplotlib & numarray
X:\srg\MatPlotLibTests>c:\python24\python ..\irplot24.py --second=fft --target=600000 ScanDataInternalIR_GndInput.log
Importing pylab library ........ 1.685
Opening file and loading array . 3.999

Windows 2000 & Python 2.5 & matplotlib & numpy
X:\srg\MatPlotLibTests>c:\python25\python ..\irplot24.py --second=fft --target=600000 ScanDataInternalIR_GndInput.log
Importing pylab library ........ 0.882
Opening file and loading array . 10.687



Thanks for any comments
Steve
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to