Previous Up Next

13.3.3  Commands for global display features

Adding a legend: legend

The legend command creates a legend on the screen.


Example.
To put "hello" to the upper left of the point (1,1):
Input:

legend(1+i,"hello",quadrant3)

or:

legend(1+i,quadrant3,"hello")

Output:

Changing various features:display color

The display command changes the properties of graphics; the same properties that can also be changed with the display and color parameters (see Section 13.3.2). The color command a synonym for the display command.

The display command draws objects with specified properties.


Examples.


Previous Up Next