Opened 14 years ago
Closed 14 years ago
#4303 closed defect (duplicate)
Plotting: points(list_of_points, rgbcolor=c) gives strangely colored results with exactly 3 points.
Reported by: | jbandlow | Owned by: | was |
---|---|---|---|
Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
Component: | user interface | Keywords: | plotting |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
From the docstring for point2d, the following works fine:
sage: p = point(((0.5, 0.5), (1, 2), (0.5, 0.9), (-1,-1)), rgbcolor=hue(1), pointsize=30); p.show()
However
sage: p = point(((0.5, 0.5), (1, 2), (0.5, 0.9)), rgbcolor=hue(1), pointsize=30); p.show()
gives one purple(?) point and two blue points. This seems to happen if and only if the number of points specified is exactly three, regardless of the specified color.
Change History (2)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
- Milestone changed from sage-3.1.4 to sage-duplicate/invalid
- Resolution set to duplicate
- Status changed from new to closed
This is a duplicate of #2076.
Note: See
TracTickets for help on using
tickets.
I wonder if this is related to the apparent special casing of 3 or fewer points in GraphicPrimitiveFactory_from_point_list (code below, from sage/plot/plot.py). That was the best lead I can find with the time I have, hope it helps.