"Alexander Dietz" <[EMAIL PROTECTED]> writes:

> Although the scatter command is called later, any point drawn with the "
> scatter"-command lies behind the black crosses drawn by the "plot" command.
> Any ideas how to get the order right?

Set the zorder property. Try e.g.:

clf()
l=plot(rand(50), rand(50), 'kx')
p=scatter(rand(20), rand(20), 40, c=rand(20), faceted=False)
getp(l[0], 'zorder')
getp(p, 'zorder')
setp(p, zorder=3)

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to