Ticket #5450 (closed enhancement: fixed)
[with patch, positive review] plotting a vector as a point plots a sphere, not a point
| Reported by: | jason | Owned by: | jason |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.4.1 |
| Component: | graphics | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Presumably, plotting a point is more efficient. However,
vector([1,2,3]).plot(plot_type='point')
plots a sphere instead of a point3d (or point2d, if 2-dimensional). This should be changed to plot a point.
Attachments
Change History
comment:1 Changed 4 years ago by jason
- Owner changed from was to jason
- Status changed from new to assigned
comment:2 Changed 4 years ago by jason
Another performance enhancement would be using a line3d with arrow_head=True instead of an arrow3d command. I think that would also preserve aspect ratio better anyway.
comment:3 Changed 4 years ago by jason
using the line3d command instead of the arrow3d command I think would be more in line with the result of vector([1,2]).plot().plot3d() (which I believe uses the line3d command).
comment:4 Changed 4 years ago by jason
- Summary changed from plotting a vector as a point plots a sphere, not a point to [with patch, needs review] plotting a vector as a point plots a sphere, not a point
This should make plotting lots of 3d vector arrows or points significantly faster.
Note: See
TracTickets for help on using
tickets.

