plotRGB                package:SoPhy                R Documentation

_P_l_o_t_t_i_n_g _R_G_B _f_i_g_u_r_e_s

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

     The function plots an RGB array

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

     plotRGB(picture, x=1:dp[1], y=if (reverse) dp[2]:1 else 1:dp[2],
              reverse=TRUE, cex.axis=1, ...)

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

 picture: three dimensional array where the third dimension must have
          length 3 or 4; the forth component is ignored if there is any

       x: x-coordinates; the length must match the length of the first
          dimension of 'picture'

       y: y-coordinates; the length must match the length of the first
          dimension of 'picture'; see details

 reverse: logical; see details

cex.axis: graphical parameter, see 'par'

     ...: additional graphical parameters for 'image'

_D_e_t_a_i_l_s:

     'reverse=TRUE' is for the plot of soil profiles, where the
     numbering of the y-axis start at the top and is counted positively
     downwards.  

     'reverse=FALSE' The usual presentation of the vertical axis.

     The functions checks whether 'y' is in decreasing or increasing
     order, and plots the y axis accordingly.

_V_a_l_u_e:

     NULL

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

     Martin Schlather, schlath@hsu-hh.de <URL:
     http://www.unibw-hamburg.de/WWEB/math/schlath/schlather.html>

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

     'read.picture', 'write.picture'

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

     fig <- read.picture(paste(system.file(package='SoPhy'),
                         'tracer', 'K06', sep="/"))
     plotRGB(fig)

