Home | Trees | Index | Help |
|
---|
Package sage :: Package plot :: Module graph :: Class Graph |
|
Method Summary | |
---|---|
__init__(self,
name,
lower_left,
upper_right,
unit)
| |
__delitem__(self,
n)
| |
__getitem__(self,
n)
| |
__repr__(self)
| |
append(self,
cmd)
| |
axes(self,
x,
y,
offset)
| |
circle(self,
center,
radius)
| |
color(self,
color,
blue,
green)
| |
commands(self)
| |
copy(self,
name)
| |
curve(self,
points,
max_points)
| |
disc(self,
center,
radius)
| |
dot(self,
center,
radius)
| |
dvi(self)
| |
elliptic_curve(self,
a1,
a2,
a3,
a4,
a6,
res)
| |
emacs(self)
| |
eps(self)
| |
fillcolor(self,
color)
| |
Valid styles are none, solid, vlines, vlines*, hlines, hlines*, crosshatch and crosshatch* The default is solid. | |
... | |
gif(self,
density)
| |
grid(self,
subgriddiv,
gridlabelcolor)
| |
hatchangle(self,
rot)
| |
hatchcolor(self,
color)
| |
hatchsep(self,
dim)
| |
hatchwidth(self,
dim)
| |
jpg(self,
density,
quality)
| |
line(self,
start_point,
stop_point,
style)
| |
line_width(self,
width)
| |
linestyle(self,
style)
| |
lower_left(self)
| |
name(self)
| |
path(self,
points,
style,
max_points)
| |
pdf(self)
| |
png(self,
density)
| |
INPUT:... | |
ps(self)
| |
save(self)
| |
tex(self)
| |
INPUT: refh -- l (left), r (right), c (center) the default is left refv -- t (top), b (bottom), B (baseline) the default is bottom. | |
Put a vertical tick mark and label at each position on the x-axis between xmin and xmax that when scaled is an integer multiple of xmult. | |
tif(self,
density)
| |
unit(self)
| |
upper_right(self)
| |
view(self)
|
Method Details |
---|
fillstyle(self, style='solid')Valid styles are none, solid, vlines, vlines*, hlines, hlines*, crosshatch and crosshatch* The default is solid. vlines, hlines and crosshatch draw a pattern of lines, according to the four parameters list below that are prefixed with hatch. The * versions also fill the background, as in the solid style. The following are also methods that are relevant for hatch fills: hatchwidth = dim (default .8pt) Width of lines hatchsep=dim (default 4pt) Width of space between lines hatchcolor=color (default black) Color of lines hatchangle=rot (default: 45) Rotation of the lines, in degrees. For example, if hatchangle is set to 45, the vlines style draws lines that run northwest-southeast, and the hlines style draws lines that run southwest-northeast, and the crosshatch style draws both together. |
function(self, f, xmin=None, xmax=None, num_points=None, smooth=True, include_in_graph=True, shade_below=False, shade_color=0, y_cutoff=None, dot=0, y_scale=1.0, progress=False)... Points with y coordinate bigger in abs value than y_cutoff are ignored (unless y_cutoff is not specified). |
polygon(self, points, filled=True)INPUT: points -- a list of points filled -- True or False (default is True) |
text(self, position, value, refh='l', refv='b')INPUT: refh -- l (left), r (right), c (center) the default is left refv -- t (top), b (bottom), B (baseline) the default is bottom. |
ticks(self, xmin=None, xmax=None, xscale=1.0, xmult=None, xlen=None, above=True, ymin=None, ymax=None, yscale=1.0, ymult=None, ylen=None, right=True)Put a vertical tick mark and label at each position on the x-axis between xmin and xmax that when scaled is an integer multiple of xmult. Note that xmult must be an integer. Same with y axis. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jun 20 15:43:22 2005 | http://epydoc.sf.net |