#16857: Add example(s) for ticks in plot doc
-------------------------------+----------------------------
       Reporter:  kcrisman     |        Owner:
           Type:  enhancement  |       Status:  needs_review
       Priority:  minor        |    Milestone:
      Component:  graphics     |   Resolution:
       Keywords:  beginner     |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+----------------------------
Changes (by paulgraham5):

 * status:  new => needs_review


Comment:

 I was unable to get the suggested example to work, as i get this error
 when trying it:

 {{{
 TypeError: The second argument 'plotjoined' should be boolean (True or
 False).
 If you meant to plot two lists 'x' and 'y' against each other,
 use 'list_plot(zip(x,y))'.
 }}}

 Also i needed to add single quotes around semilogx, so i ended up with
 this:

 {{{
 list_plot(zip(xx,yy),scale='semilogx',ticks=[None, Integer(30)])
 }}}

 And it produces a plot successfully, but i have no idea if that plot is
 correct, now with these changes?

--
Ticket URL: <http://trac.sagemath.org/ticket/16857#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to