On Tuesday, 24 April 2012 23:24:14 UTC+8, Nathann Cohen wrote: > > Helloooooo everybody !!! > > Because of a former post on this google group [1] I created the following > patch [2]. It adds to Permutation objects a .show() method that produces > this kind of drawings [3]. > > Hence, that would be the "default way" to plot Permutations in Sage. The > thing is that it is the "natural drawing" for what I am current working on > (Permutation graphs [4]), and David says he uses them and calls them > Swapping diagrams -- which is non-standard according to him. > > group theorists would normally draw permutations as collection of directed cycles, with labelled vertices.
> Well. Do you think there should be other ways to draw permutations in Sage > ? Do you have anything against that patch, which somehow makes these > drawings the "default" ones ? > If you like other type of drawings, I think it would be nice to have many > arguments to the .show() method that would yield different kind of > drawings, but the .show() method is definitely what I would look for if I > were to try to plot a drawing, so I think that these drawings should be > "reachable" through the .show() method, even if they are not the default > ones. > > Well, I'm all ears now ! Give me your thoughts, mysterious sage-combinat > crowd O_O > > Nathann > > [1] > https://groups.google.com/d/topic/sage-combinat-devel/vdfE7iaJTxs/discussion > [2] http://trac.sagemath.org/sage_trac/ticket/12872 > [3] http://trac.sagemath.org/sage_trac/attachment/ticket/12872/tmp_1.png > [4] http://en.wikipedia.org/wiki/Permutation_graph > -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To view this discussion on the web visit https://groups.google.com/d/msg/sage-combinat-devel/-/XR0Pg1JchVwJ. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.