Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: plot
See also: createdisplay show plot

Quantlet: line
Description: convenient function for plotting results. Similar to plot but draws lines connecting the points.

Usage: line (x1, {x2, x3, x4, x5})
Input:
x1 n x 2 or n x 3 matrix, contains the line coordinates to be plotted
x2 - x5 optional, further lines to be plotted

Note:

Example:
library("plot")
line(1:10~(1:10)^2)

Result:
line is shown in the display plotdisplay
Example:
library("plot")
line(1:10~(1:10)^2)
t=(1:20~(1:20)^1.5)
adddata(plotdisplay, 1, 1, setmask(t, "points", "line", "thin"))

Result:
new line is shown in the display plotdisplay together
with previously existing one



Author: T. Kleinow, 20010912
(C) MD*TECH Method and Data Technologies, 05.02.2006