plottools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : Plot Tools : plottools/hyperbola

plottools

  

hyperbola

  

generate 2-D plot object for a hyperbola

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

hyperbola(c, a, b, r, options)

Parameters

c

-

center of symmetry

a, b

-

a^2+b^2=e^2, where e is the eccentricity

r

-

range

options

-

(optional) equations of the form option=value. For a complete list, see plot/options.

Description

• 

The hyperbola command creates a two-dimensional plot data object, which when displayed is a hyperbola whose center of symmetry is at point c, with a2+b2=e2, where e is the eccentricity. For instance, hyperbola([x0, y0], a, b, r1..r2) graphs the equation

xx02a2yy02b2=1

  

from the point x0+acoshr1,y0+bsinhr1 to x0+acoshr2,y0+bsinhr2 and from x0acoshr1,y0bsinhr1 to x0acoshr2,y0bsinhr2.

• 

A call to hyperbola produces a plot data object that can be used in a PLOT data structure, or displayed using the plots[display] command.

• 

Remaining arguments are interpreted as options, which are specified as equations of the form option = value. For more information, see plottools and plot/options.

Examples

withplottools:

withplots:

eqxx02a2yy02b2=1

eq:=xx02a2yy02b2=1

(1)

a1:b1:x00:y00:

Generate the hyperbola described by the equation above,

hhyperbolax0,y0,a,b,2..2:

displayh

which is equivalent to:

implicitploteq,x=4..4,y=4..4

Other forms of hyperbola can be obtained via object transformations, for example, rotate.

displayrotateh,π2,rotateh,π4,rotateh,3π4

See Also

plot/options

plot/structure

plots[display]

plots[implicitplot]

plottools

plottools[rotate]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam