#12798: list_plot3d plots extraneous points at z=0 and doesn't take color or
rgbcolor as keywords
--------------------------------------------------------------+-------------
Reporter: ppurka | Owner:
jdemeyer
Type: defect | Status:
needs_work
Priority: major | Milestone:
sage-5.2
Component: graphics | Resolution:
Keywords: list_plot3d, sd40.5 | Work issues:
Report Upstream: N/A | Reviewers:
Karl-Dieter Crisman, Punarbasu Purkayastha
Authors: Punarbasu Purkayastha, Karl-Dieter Crisman | Merged in:
Dependencies: | Stopgaps:
--------------------------------------------------------------+-------------
Comment (by jdemeyer):
I guess the method
`sage.plot.plot3d.parametric_surface.ParametricSurface.triangulate()`
should be fixed not to add any faces of which the coordinates are not all
finite numbers. However, I'm having a hard time understanding that
method.
Because now we are sending a list of faces to be plotted full of `NaN`s:
{{{
sage: G = list_plot3d([(0,0,1), (2,3,4), (-1,-1,-1)],num_points=100)
sage: G.triangulate()
sage: G.face_list()
[...[(1.9696971120698907, 2.71717269474511, nan), (1.9696971120698907,
2.757576737669652, nan), (2.000000142649374, 2.757576737669652, nan),
(2.000000142649374, 2.71717269474511, nan)], [(1.9696971120698907,
2.757576737669652, nan), (1.9696971120698907, 2.7979807805941936, nan),
(2.000000142649374, 2.7979807805941936, nan), (2.000000142649374,
2.757576737669652, nan)], [(1.9696971120698907, 2.7979807805941936, nan),
(1.9696971120698907, 2.8383848235187354, nan), (2.000000142649374,
2.8383848235187354, nan), (2.000000142649374, 2.7979807805941936, nan)],
[(1.9696971120698907, 2.8383848235187354, nan), (1.9696971120698907,
2.8787888664432773, nan), (2.000000142649374, 2.8787888664432773, nan),
(2.000000142649374, 2.8383848235187354, nan)], [(1.9696971120698907,
2.8787888664432773, nan), (1.9696971120698907, 2.919192909367819, nan),
(2.000000142649374, 2.919192909367819, nan), (2.000000142649374,
2.8787888664432773, nan)], [(1.9696971120698907, 2.919192909367819, nan),
(1.9696971120698907, 2.959596952292361, 3.9494949494949494),
(2.000000142649374, 2.959596952292361, nan), (2.000000142649374,
2.919192909367819, nan)], [(1.9696971120698907, 2.959596952292361,
3.9494949494949494), (1.9696971120698907, 3.000000995216903, nan),
(2.000000142649374, 3.000000995216903, nan), (2.000000142649374,
2.959596952292361, nan)]]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12798#comment:41>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.