Changeset 4405:983ae7c2cfd0


Ignore:
Timestamp:
05/10/07 23:18:53 (6 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Message:

plot doc improvements

Location:
sage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sage/misc/functional.py

    r4120 r4405  
    782782    """ 
    783783    Show a graphics object x. 
     784 
     785    OPTIONAL INPUT: 
     786        filename -- (default: None) string 
     787        dpi -- dots per inch 
     788        figsize -- [width, height] (same for square aspect) 
     789        axes -- (default: True) 
     790        fontsize -- positive integer 
     791        frame -- (default: False) draw a MATLAB-like frame around the image 
    784792    """ 
    785793    if not isinstance(x, (sage.interfaces.expect.Expect, sage.interfaces.expect.ExpectElement)): 
  • sage/plot/plot.py

    r4330 r4405  
    629629        Show this graphics image with the default image viewer. 
    630630         
     631        OPTIONAL INPUT: 
     632            filename -- (default: None) string 
     633            dpi -- dots per inch 
     634            figsize -- [width, height] (same for square aspect) 
     635            axes -- (default: True) 
     636            fontsize -- positive integer 
     637            frame -- (default: False) draw a MATLAB-like frame around the image 
     638 
    631639        EXAMPLES: 
    632640            sage: c = circle((1,1), 1, rgbcolor=(1,0,0)) 
     
    17171725class CircleFactory(GraphicPrimitiveFactory_circle): 
    17181726    """ 
    1719      
    1720     A circle at a point = (x,y) with radius = r 
     1727    Return a circle at a point = (x,y) with radius = r. 
    17211728    Type circle.options to see all options 
    17221729 
     1730    circle(center, radius, **kwds) 
     1731 
     1732    INPUT: 
     1733        center -- a 2-tuple (x,y) 
     1734        radius -- a positive number 
     1735        alpha -- default: 1 
     1736        fill -- default: False 
     1737        thickness -- default: 1 
     1738        rgbcolor -- default: (0,0,0) 
     1739 
    17231740    EXAMPLES: 
    1724     sage: c = circle((1,1),1,rgbcolor=(1,0,0)) 
    1725     sage: c.save() 
     1741        sage: c = circle((1,1), 1, rgbcolor=(1,0,0)) 
     1742        sage: c.save() 
    17261743 
    17271744    To correct the apect ratio of certain graphics, it is necessary 
     
    27562773        r""" 
    27572774        Show this graphics array using the default viewer. 
     2775 
     2776        OPTIONAL INPUT: 
     2777            filename -- (default: None) string 
     2778            dpi -- dots per inch 
     2779            figsize -- [width, height] (same for square aspect) 
     2780            axes -- (default: True) 
     2781            fontsize -- positive integer 
     2782            frame -- (default: False) draw a MATLAB-like frame around the image 
    27582783        """ 
    27592784        if (figsize != DEFAULT_FIGSIZE): self.__set_figsize__(figsize)  
Note: See TracChangeset for help on using the changeset viewer.