Opened 14 years ago
Closed 14 years ago
#2741 closed enhancement (fixed)
[with patch; positive review] Implement mesh lines in 3d plots
Reported by: | jason | Owned by: | was |
---|---|---|---|
Priority: | major | Milestone: | sage-3.0.1 |
Component: | graphics | Keywords: | |
Cc: | TimothyClemans | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Is there an easy way to get mesh lines in a plot3d surface?
This is not implemented. I wish you would implement it :-)
Robert Bradshaw might have some useful advise.
> > Sometimes > > it is hard to visualize the plot (especially when it is printed) without > > the mesh lines. > > > > If that is easy, what about the possibility of doing some of things that > > Mma does with different types of meshes? For reference, see: > > > > http://reference.wolfram.com/mathematica/ref/Mesh.html > > > > http://reference.wolfram.com/mathematica/ref/MeshFunctions.html > > > > http://reference.wolfram.com/mathematica/ref/MeshShading.html > > > > http://reference.wolfram.com/mathematica/ref/MeshStyle.html > >
Attachments (2)
Change History (9)
comment:1 Changed 14 years ago by
Changed 14 years ago by
comment:2 Changed 14 years ago by
- Summary changed from Implement mesh lines in 3d plots to [with patch; needs review] Implement mesh lines in 3d plots
comment:3 Changed 14 years ago by
- Description modified (diff)
comment:4 Changed 14 years ago by
- Cc TimothyClemans added
comment:5 Changed 14 years ago by
- Summary changed from [with patch; needs review] Implement mesh lines in 3d plots to [with patch; positive review] Implement mesh lines in 3d plots
Impressive plots with mesh lines! There were two doctest failures I fixed them and uploaded a patch.
comment:6 Changed 14 years ago by
Timothy's patch looks good to me. Somebody didn't doctest his own patch ;)
Cheers,
Michael
comment:7 Changed 14 years ago by
- Resolution set to fixed
- Status changed from new to closed
Merger in Sage 3.0.1.alpha1
Note: See
TracTickets for help on using
tickets.
Well, he already answered my question in the source.
In sage/sage/plot/plot3d/index_set.pyx, starting at line 658 (in 2.10.4):
Uncommenting the appropriate line does indeed give a mesh in JMOL. So now the question is how to expose this to the user. And how to extend it to do nontrivial mesh functions.