lplot(x, y, labels, tcex=0.7, ...)
x
| vector of x values |
y
| vector of y values |
labels
| The labels to put at each of the points in the scatterplot. If only one value or symbol is given, this value is used at all the points. |
tcex
| The size of the labels relative to the text in the rest of the plot. |
...
|
Any other arguments to pass to the plot function.
|
Plot the latitude verses the minimum average January temperature for 50 US cites and label the plot with the city names. Also include some axes labels and make the city labels smaller than the default size so that they are more readable: lplot(climate$lat,climate$jan,climate$city,xlab="Latitude", ylab="Jan. Temp.",tcex=.4) Plot force measurements from the actuator experiment by the supply line pressure. Label the points by the type of actuator: lplot(actuator.exp$press,actuator.exp$force,actuator.exp$act, xlab="pressure",ylab="force")