Plotting a Circle

Description

The following Sage command plots a circle of radius $1$ and center $(0,0)$.

Sage Cell

Code

circle((0,0),1)

Options

Option

Fill may be added to any circle. The default is fill = False.

Code

circle((0,0),1, fill=True)

Option

The edge a face color may also be set. The default color is blue.

Code

circle((0,0),1, fill=True, edgecolor='red', facecolor='yellow')

Tags

Primary Tags: two-dimensional plots

Secondary Tags:

Related Cells

Attribute

Permalink:

Author: T. Judson

Date: 09 Jul 2017 08:07

Submitted by: Tom Judson

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License