lplot                package:funfits                R Documentation

_L_a_b_e_l_e_d _p_l_o_t

_D_e_s_c_r_i_p_t_i_o_n:

     This function is a convenient combination of the plot and text
     functions. If either x or y is categorical then the points are
     equally spaced along the relevant axis and categories are labeled
     along the axis. This feature is useful for making interaction
     plots from an ANOVA or making dot plots of several data sets side
     by side.

_U_s_a_g_e:

     lplot(x, y, labels, tcex=0.7, ...)

_A_r_g_u_m_e_n_t_s:

       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.

_S_e_e _A_l_s_o:

     plot, text,

_E_x_a_m_p_l_e_s:

     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")

