scalebar               package:StatDA               R Documentation

_S_c_a_l_e_b_a_r

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

     This function plots the unit at a specified location.

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

     scalebar(Xlowerleft, Ylowerleft, Xupperright, Yupperright, shifttext, shiftkm,
     sizetext)

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

Xlowerleft, Ylowerleft: x and y coordinate of the lower left corner

Xupperright, Yupperright: x and y coordinate of the upper corner 

shifttext: on which margin line, starting at 0 counting outwards 

 shiftkm: how far from the last point the label should be written 

sizetext: expansion factor for the text 

_A_u_t_h_o_r(_s):

     Peter Filzmoser <P.Filzmoser@tuwien.ac.at>

_R_e_f_e_r_e_n_c_e_s:

     C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical
     Data Analysis Explained. Applied Environmental Statistics with R.
     John Wiley and Sons Inc. To appear.

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

     plot.new()
     scalebar(0,0.25,1,0.5,shifttext=-0.05,shiftkm=4e4,sizetext=0.8)

