#5938: graph plotting -- ploting of graphs (networks) is somehow messed 
up/scaled
wrong/cropped wrong since it doesn't work with graphics_array
-----------------------------+----------------------------------------------
    Reporter:  was           |         Owner:  rlm                           
        Type:  defect        |        Status:  closed                        
    Priority:  major         |     Milestone:  sage-duplicate/invalid/wontfix
   Component:  graph theory  |    Resolution:  duplicate                     
    Keywords:                |   Work_issues:                                
    Upstream:  N/A           |      Reviewer:  Jason Grout                   
      Author:                |        Merged:                                
Dependencies:                |  
-----------------------------+----------------------------------------------
Changes (by jdemeyer):

  * status:  positive_review => closed
  * reviewer:  => Jason Grout
  * resolution:  => duplicate


Old description:

> Want to see some truly hideous plotting output?  Try this:
>
> {{{
> Q =
> GraphQuery(display_cols=['graph6','num_vertices','degree_sequence'],num_edges=['<=',5],min_degree=1)
>
> v = Q.get_graphs_list(); v
>
> graphics_array([g.plot() for g in v], 3, len(v)//3).show()
> }}}
>
> I guess the problem is maybe Networkx drawing the plots instead of Sage
> (??), hence the cropping/layout is wrong?  I don't know.  Why do we use
> networkx at all for any part of plotting?  It would be better to plot to
> native Sage primitives, wouldn't it?
>
> Fix?  make it so the edges aren't cropped wrong.

New description:

 Want to see some truly hideous plotting output?  Try this:

 {{{
 Q =
 
GraphQuery(display_cols=['graph6','num_vertices','degree_sequence'],num_edges=['<=',5],min_degree=1)

 v = Q.get_graphs_list(); v

 graphics_array([g.plot() for g in v], 3, len(v)//3).show()
 }}}

 I guess the problem is maybe Networkx drawing the plots instead of Sage
 (??), hence the cropping/layout is wrong?  I don't know.  Why do we use
 networkx at all for any part of plotting?  It would be better to plot to
 native Sage primitives, wouldn't it?

 Fixed by #9211.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5938#comment:11>
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.

Reply via email to