In article <[EMAIL PROTECTED]>,
 Chiara Caronna <[EMAIL PROTECTED]> wrote:

> I,
> I have a problem with showing plot. When I run this code:
> 
> figure(1)
> semilogx(data[:,0],data[:,1])
> savefig('try.png')
> show()
> 
> 
> It save the plot properly, but it doesn't show it. I tried to run it
> with "--verbose-helpful" and this is the output:
> 
> 
> matplotlib data path
> /usr/local/lib/python2.4/site-packages/matplotlib/mpl-data
> $HOME=/users/caronna
> CONFIGDIR=/users/caronna/.matplotlib
> loaded rc file
> /usr/local/lib/python2.4/site-packages/matplotlib/mpl-data/matplotlibrc
> matplotlib version 0.87.7
> verbose.level helpful
> interactive is False
> platform is linux2
> numerix numpy 1.0.1
> font search path
> ['/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data']
> loaded ttfcache file /users/caronna/.matplotlib/ttffont.cache
> backend Agg version v2.2
> 
> Does anyone know what's the problem?

I'm not familiar with the "Agg" back end but I suspect it does not 
support output on a display. Try TkAgg, WXAgg or GTKAgg instead 
(depending what matplotlib was built to support) e.g. by editing 
~/.matplotlib/matplotlibrc

-- Russell


-------------------------------------------------------------------------
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