Changeset 4405:983ae7c2cfd0
- Timestamp:
- 05/10/07 23:18:53 (6 years ago)
- Branch:
- default
- Location:
- sage
- Files:
-
- 2 edited
-
misc/functional.py (modified) (1 diff)
-
plot/plot.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sage/misc/functional.py
r4120 r4405 782 782 """ 783 783 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 784 792 """ 785 793 if not isinstance(x, (sage.interfaces.expect.Expect, sage.interfaces.expect.ExpectElement)): -
sage/plot/plot.py
r4330 r4405 629 629 Show this graphics image with the default image viewer. 630 630 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 631 639 EXAMPLES: 632 640 sage: c = circle((1,1), 1, rgbcolor=(1,0,0)) … … 1717 1725 class CircleFactory(GraphicPrimitiveFactory_circle): 1718 1726 """ 1719 1720 A circle at a point = (x,y) with radius = r 1727 Return a circle at a point = (x,y) with radius = r. 1721 1728 Type circle.options to see all options 1722 1729 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 1723 1740 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() 1726 1743 1727 1744 To correct the apect ratio of certain graphics, it is necessary … … 2756 2773 r""" 2757 2774 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 2758 2783 """ 2759 2784 if (figsize != DEFAULT_FIGSIZE): self.__set_figsize__(figsize)
Note: See TracChangeset
for help on using the changeset viewer.
