#11923: Graph Theory: Small fix on show3d for graphs
-----------------------------+----------------------------------------------
Reporter: fidelbarrera | Owner: jason, ncohen, rlm
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-4.7.3
Component: graph theory | Keywords: graph theory, show3d
Work_issues: | Upstream: N/A
Reviewer: Nathann Cohen | Author: Fidel Barrera-Cruz
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Description changed by jdemeyer:
Old description:
> When showing graphs in 3d, the argument pos3d is received by show3d but
> not passed to plot3d.
>
> Eg.
> {{{
> sage: G=graphs.PathGraph(20)
> sage: p=dict([(v,(v*(1 if v%3==0 else 0), v*(1 if v%3==1 else 0), v*(1 if
> v%3==2 else 0))) for v in G ])
> sage: G.plot3d(pos3d=p)
> sage: G.show3d(pos3d=p)
> }}}
New description:
When showing graphs in 3d, the argument pos3d is received by show3d but
not passed to plot3d.
Eg.
{{{
sage: G=graphs.PathGraph(20)
sage: p=dict([(v,(v*(1 if v%3==0 else 0), v*(1 if v%3==1 else 0), v*(1 if
v%3==2 else 0))) for v in G ])
sage: G.plot3d(pos3d=p)
sage: G.show3d(pos3d=p)
}}}
'''Apply''' [attachment:11923.patch]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11923#comment:4>
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.