From: Darren D. <dd...@co...> - 2006-03-19 23:22:22
|
I think I actually got the new api working with draw_markers and draw_lines in backend_ps. The transforms are done by passing the results of transform.as_vec6_val to postscript. I would appreciate it if someone would test it out and give me feedback. In order to do so, update from svn and unmask backend_ps.RendererPS._draw_markers (not _draw_markers_old) by removing the leading underscore. Try plotting things like plot([0,1,2,3,4],'-o'); savefig('linear.eps') plot([0,1,nan,3,4],'-o'); savefig('linear_nan.eps') # Not possible with the old API semilogy([0,1,2,3,4],'-o'); savefig('nonlinear.eps') semilogy([0,1,nan,3,4],'-o'); savefig('nonlinear_nan.eps') # Not possible with the old API Are there other methods that need to be updated to use the new API? There are a bunch of unused methods in RendererPS that I will clean up once things have settled, please ignore them for now. Darren |