chart.Scatter      package:PerformanceAnalytics      R Documentation

_w_r_a_p_p_e_r _t_o _d_r_a_w _s_c_a_t_t_e_r _p_l_o_t _w_i_t_h _s_e_n_s_i_b_l_e _d_e_f_a_u_l_t_s

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

     Draws a scatter chart.  This is another chart "primitive", since
     it only contains a set of sensible defaults.

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

     chart.Scatter(x, y, reference.grid = TRUE, main = "Title", ylab = NULL, xlab = NULL, xlim = NA, ylim = NA, colorset = 1, symbolset = 1, element.color = "darkgray", cex.axis = 0.8, cex.legend = 0.8, cex.lab = 1, cex.main = 1, ...)

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

       x: data for the x axis, can take matrix,vector, or timeseries 

       y: data for the y axis, can take matrix,vector, or timeseries 

reference.grid: if true, draws a grid aligned with the points on the x
          and y axes 

    main: set the chart title, same as in 'plot' 

    ylab: set the y-axis label, as in 'plot' 

    xlab: set the x-axis label, as in 'plot' 

    xlim: set the x-axis limit, same as in 'plot' 

    ylim: set the y-axis limit, same as in 'plot' 

colorset: color palette to use, set by default to rational choices 

symbolset: from 'pch' in 'plot',  submit a set of symbols to be used in
          the same order as the data sets submitted 

element.color: provides the color for drawing chart elements, such as
          the box lines, axis lines, etc. Default is "darkgray" 

 cex.lab: The magnification to be used for x- and y-axis labels
          relative to the current setting of 'cex'

cex.axis: The magnification to be used for axis annotation relative to
          the current setting of 'cex', same as in 'plot'.  

cex.main: The magnification to be used for the main title relative to
          the current setting of 'cex'.  

cex.legend: The magnification to be used for sizing the legend relative
          to the current setting of 'cex'.  

     ...: any other passthru parameters 

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

     Draws a graph of type "scatter" with some sensible defaults.

_N_o_t_e:

     Most inputs are the same as "'plot'" and are principally included
     so that some sensible defaults could be set.

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

     Peter Carl

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

     'plot'

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

     data(edhec)
     chart.Scatter(edhec[,1],edhec[,2])

