LIBRARIES_CLIPBOARD
Name
CLIPBOARD
Purpose
The purpose of this program is to copy the contents of a
graphics window to the clipboard for subsequent pasting into
applications such as Photoshop or Powerpoint.
Author
FANNING SOFTWARE CONSULTING
David Fanning, Ph.D.
1645 Sheely Drive
Fort Collins, CO 80526 USA
Phone: 970-221-0438
E-mail: david@idlcoyote.com
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Category
Graphics.
Calling Sequence
CLIPBOARD, window_index
Optional Inputs
window_index: The window index number of the graphics window to
copy. If absent, the current graphics window is used
by default.
Keywords
All COLOR_QUAN keywords are allowed. In particular, if you are
taking snapshots of line plots with few colors in them, you may
get better results by calling the program with the CUBE=6 keyword
set. Otherwise, white colors can sometimes be a bit gray.
Outputs
None.
Common Blocks
None.
Dependencies
Uses the IDLgrClipboard object introduced in IDL 5.2(?).
Procedure
Copies the window contents to a clipboard object.
Example
IDL> Window
IDL> Plot, Findgen(11)
IDL> CLIPBOARD
Restrictions
May not work for all applications. Applications tested successfully
include: Framemaker, Powerpoint, Photoshop, Excel, Microsoft Word.
Converts 24-bit images to 2D images with color tables.
Modification History
Written by: David W. Fanning, 24 October 2001.
Added _EXTRA keyword to pass COLOR_QUAN keywords along. 28 Oct 2002. DWF.