ggobi_display_save_picture      package:rggobi      R Documentation

_S_a_v_e _p_i_c_t_u_r_e _o_f _p_l_o_t (_a_n_d _w_i_n_d_o_w) _t_o _d_i_s_k

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

     This allows you to make a static copy of a GGobiDisplay.

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

     ggobi_display_save_picture(display=displays(ggobi_get())[[1]], path="ggobi_display.png", filetype="png", plot.only = FALSE)

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

 display: GGobiDisplay to save

    path: path to save to

filetype: type of file to save

plot.only: if TRUE, save only plot, otherwise save surrounding GUI
          elements as well

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

     If you want to make publicaiton quality graphics, you should
     probably use the DescribeDisplay plugin and package.   This will
     recreate a GGobiDisplay in R, and so can produce high-quality
     vector (eg. pdf) output.  See <URL:
     http://www.ggobi.org/describe-display> for more information

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

     Hadley Wickham <h.wickham@gmail.com>

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

     g <- ggobi(mtcars)
     ggobi_display_save_picture(displays(g)[[1]], "test.png")

