/ Home
S-Archive Download Script
clip.plot   Copy current plot as metafile
DESCRIPTION
Copies current plot to the Windows clipboard in metafile format in S-Plus Version 3.
 
USAGE
clip.plot(width=10.5,height=8)
 
OPTIONAL ARGUMENTS
width   nominal width of plot in inches
height   nominal height of plot in inches
 
DETAILS
Don't copy the current plot to the clipboard using the S-Plus Version 3 for Windows drop down menu! That will copy the graph in bitmap form. Metafile format gives higher resolution and takes up about a tenth of the space in your document.

To maintain aspect ratio, width and height should be proportional the values used to open the graphics window. In most cases it is best to use the same width and height used for the graphics window.

This function is designed for S-Plus Version 3 for Windows. It is unnecessary in S-Plus Version 4 for Windows.

EXAMPLES
win.graph(7,7)
plot(x,y)
clip.plot(7,7)

 

S-Archive Download Script

Gordon Smyth. Copyright © 1996-2016. Last modified: 10 February 2004