Opened 11 years ago
Last modified 7 years ago
#7050 new enhancement
Make plotting single polar points or lines easy
Reported by: | kcrisman | Owned by: | was |
---|---|---|---|
Priority: | minor | Milestone: | sage-6.4 |
Component: | graphics | Keywords: | plot, polar |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
See http://groups.google.com/group/sage-support/browse_thread/thread/ad0294c057ddc462/6b9b4092034359c4?show_docid=6b9b4092034359c4 for the original request.
Probably the best thing to do is have both plotting of lines and individual points using polar coordinates as options. This should not be too hard, but should be named consistently with other plotting functions.
Change History (6)
comment:1 Changed 11 years ago by
- Type changed from defect to enhancement
comment:2 Changed 11 years ago by
comment:3 Changed 8 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:4 Changed 7 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:5 Changed 7 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:6 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
Note: See
TracTickets for help on using
tickets.
Please note that matplotlib already addresses these issues. See, for example, this discussion:
http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg04785.html
We just have to change our polar plots to use the matplotlib polar plotting mechanism. That's something I've been meaning to do anyway, especially now that we use the matplotlib axes instead of our own. I probably won't get to it in the near future, though. Someone else is more than welcome to do it.
Basically, right now, our "polar plots" are just normal plots with the coordinates undergoing the polar transformation on each point. I think it might be good to change this so that our polar plots actually use the polar projection to give matplotlib polar plots. See
Examples of matplotlib polar plots:
http://matplotlib.sourceforge.net/examples/pylab_examples/polar_bar.html http://matplotlib.sourceforge.net/examples/pylab_examples/polar_demo.html http://matplotlib.sourceforge.net/examples/pylab_examples/polar_scatter.html
or more exciting stuff that is currently in matplotlib and being refined:
http://matplotlib.sourceforge.net/examples/axes_grid/demo_curvelinear_grid.html
http://matplotlib.sourceforge.net/examples/axes_grid/demo_floating_axis.html
Thanks,
Jason