home *** CD-ROM | disk | FTP | other *** search
-
- _P_o_s_t_S_c_r_i_p_t _G_r_a_p_h_i_c_s
-
- postscript(file="Rplots.ps", paper="a4", landscape=TRUE,
- width, height, family="Helvetica", pointsize=12,
- bg="white", fg="black")
-
- _A_r_g_u_m_e_n_t_s:
-
- file : the name of a file to print to, it must be a
- quoted string.
-
- paper : the size of paper in the printer. The
- choices are "a4", "letter", "legal" and "exe-
- cutive".
-
- landscape : the orientation of the printed image, a logi-
- cal.
-
- width,height : the width, and height of the graphics region
- in inches. The default is to use the entire
- page.
-
- family : the font family to be used. This must be one
- of "AvantGarde", "Bookman", "Courier", "Hel-
- vetica", "Helvetica-Narrow", "NewCenturyS-
- choolbook", "Palatino" or "Times".
-
- pointsize : the default point size to be used.
-
- bg : the default background color to be used.
-
- bg : the default foreground color to be used.
-
- _D_e_s_c_r_i_p_t_i_o_n:
-
- The file file is opened and the PostScript commands
- needed to plot any graphics requested are stored in
- that file. This file can then be printed on a suitable
- device to obtain hard copy.
-
- _S_e_e _A_l_s_o:
-
- x11, macintosh, device.
-
- _E_x_a_m_p_l_e_s:
-
- # open the file "foo" for graphics output
- postscript("foo")
-
- # produce the desired graph(s)
- plot(x,y)
-
-