Hello,

While using sage [1], I got problems drawing a line: for some reason,
the points with negative coordinates are not plotted (or are plotted
on top of others due to an offset problem and thus I cannot see them).
I can only reproduce the bug with specific data sets.

I think I could track down the bug to matplotlib, which sage uses to
render 2d plots.

I included a sage script which generates the data set (in a pickle
file), and a python script which draws the faulty line.

Usage is :

$ sage generate_data.sage
$ python test_mpl.py

I also included the pickled data, thus you don't need sage at all.
I use matplotlib 1.0.0 for python 2.6 on mac os (as provided by macport).

Could somebody here confirm the problem, and give me a hint about what
is going on?

Regards
Sebastien

[1] www.sagemath.org

Attachment: generate_data.sage
Description: Binary data

Attachment: test_mpl.py
Description: Binary data

Attachment: traj_mod.pickle
Description: Binary data

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to