FPLOT(1)FPLOT(1)

## NAME

fplot – plot elementary function

## SYNOPSIS

`fplot``-c``-s`*size*`-r`*range**functions ...*

## DESCRIPTION

*Fplot**functions*`-c`*image*(6).`-s``-r``xmin:xmax ymin:ymax`.*fplot*`-a`

Each function to be plotted may be a combination of the independent variable x,
the elementary operations (+, -, *, / and %), and the functions described in
*sin*(2)*exp*(2).

## EXAMPLES

Plot the absolute value and x^3 functions to a 400x400 image(6) on standard output and view with
*page*(1).

fplot -c -s 400x400 'sqrt(x*x)' 'x^3' | page

## SOURCE

`/sys/src/cmd/fplot.c`

## SEE

*exp*(2),*sin*(2),*image*(6),*plot*(1).

## DIAGNOSTICS

*Fplot*`syntax error`

## BUGS

There is no unary plus or minus.

Axes are not drawn in
`-c`

## HISTORY

*Fplot*