471,328 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Multiple Plot windows with matplot lib

in matplot lib how do I generate two separate windows for separate plots.

ie i have two contour plots i want to print out every time a program is run, but in separate windows.

contour(array,origin='upper')
axis((0,Lx+1,0,Ly+1))
grid(True)
draw()

and i want another separate window that uses contour again using a different array.

Thanks
Nov 25 '07 #1
2 3519
Before each contour, just have a line like so:

figure()
Nov 26 '07 #2
that didnt work at first but then I tried it again =p

thanks
Nov 27 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

30 posts views Thread by nephish | last post: by
1 post views Thread by Dominick Baier | last post: by
11 posts views Thread by TrtnJohn | last post: by
1 post views Thread by dug | last post: by
2 posts views Thread by Rodrigo Lopez-Negrete | last post: by
6 posts views Thread by redcic | last post: by
2 posts views Thread by itdevries | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.