Represent

Draws an object and shows its relevant information.

Syntax

represent(Object)

Description

Functions are represented by plotting the graph and features of interest such as individual points, asymptotes and local maximum values. It is defined for objects of type: Function, Circumference and Conic.

graphics.represent.calc.png

Options

Option

Description

Format

Default value

asymptote

We can choose the color and line width of the asymptotes, if such exist

{asymptote = {color=red}}

{asymptote ={color=blue,line_width=1}}

border

We can choose if the border of closed figures is painted or not

{border=true}

{border=false}

color

We can choose the color to be used for drawing. RGB list of values {r,g,b} where r, g, and b are integers between 0-255. Alternatively one of the following strings: black, white, red, green, blue, cyan, magenta, yellow, brown, orange, pink, grey, dark_grey, light_grey, or one of the HTML colors, by name (e.g. html_indigo rather than 4b0082).

{color=red}

{color=black}

curve

We can choose the color and line width of the function's representation

{curve = {line_width=3}}

{curve = {color=black,line_width=1}}

fill

In the case of a closed figure, the command determines whether the interior is filled or not

{fill=true}

{fill=false}

fill_color

If working with a closed figure and if the value defined for fill is true, this command indicates the color to be used to paint the inside of the figures. See color option

{fill_color=red}

{fill_color=black}

inflection_point

We can choose the color and size of the inflection points, if such exists

{inflection_point = {color=green}}

{inflection_point = {color=pink,point_size=5}}

intersection_axis

We can choose the color and size of the intersection points with the axis, if such exists

{intersection_point = {color=orange}}

{intersection_point = {color=blue,point_size=5}}

intersection_x_axis

We can choose the color and size of the intersection points with the x-axis, if such exists

{intersection_point = {color=orange}}

{intersection_point = {color=blue,point_size=5}}

intersection_y_axis

We can choose the color and size of the intersection point with the y-axis, if such exist

{intersection_point = {color=orange}}

{intersection_point = {color=blue,point_size=5}}

line_width

This command is used to set the thickness of lines, segments or functions drawn on the drawing board

{line_width=3}

{line_width=1}

singular_point

We can choose the color and size of the singular points, if such exists

{singular_point = {color=yellow}}

{singular_point = {color=red,point_size=5}}

symmetry_axis

We can choose the color and line width of the symmetry axis, if such exist

{symmetry_axis = {line_width=4}}

{symmetry_axis = {color=green,line_width=1}}