On Thu, 14 Feb 2008, John Hunter apparently wrote:
> import numpy as np 
> import matplotlib 
> matplotlib.use('Agg')
> import matplotlib.pyplot as plt 
> x, y = np.random.rand(2,100)
> fig = plt.figure()
> ax = fig.add_subplot(111)
> ax.plot(x, y, marker='o', linestyle='', markerfacecolor='green')
> ax.set_title('Some random dots')
> ax.set_xlabel('x')
> ax.set_ylabel('y')
> ax.grid(True)
> fig.savefig('myplot.png', dpi=100)
> plt.show()

Does that ``show`` command have any effect?
(I know the effect for TkAgg.)
I tried clicking the ``show`` help at
<URL:http://matplotlib.sourceforge.net/>
but that directs to
<URL:http://matplotlib.sourceforge.net/matplotlib.pyplot.html#-show>
which does not exist.

Thank you,
Alan Isaac





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to