Welcome to the Exelis VIS product documentation center! Here you will find reference guides, help documents, and product libraries. Discover the products including ENVI, IDL, and ENVI LiDAR, and solutions developed by Exelis VIS at www.exelisvis.com.


exelisvis.com / Docs Center / Using IDL / Graphics / Graphics Methods / Print Method

Print Method

Print Method

Print Method


The Print procedure method prints the window contents of an IDL Graphic to the default printer.

Example


x = FINDGEN(41)/10 - 2
gauss = EXP(-x^2)
p = BARPLOT(x, gauss, TITLE='Gaussian Distribution', $
XTITLE='$\it x$', YTITLE='$\it f(x)$', YRANGE=[0,1.1])
t = TEXT(0.75,0.85,'$\it f(x)=exp(-x^2)$', /DATA, FONT_SIZE=24)
 
p.Print, /LANDSCAPE

Syntax


graphic.Print [, /CENTIMETERS] [, HEIGHT=value] [, /LANDSCAPE] [, WIDTH=value] [, XMARGIN=value] [, YMARGIN=value]

Arguments


None

Keywords


CENTIMETERS

Set this keyword to indicate that the WIDTH, HEIGHT, XMARGIN, and YMARGIN values are in centimeters. The default is inches.

HEIGHT

Set this keyword to the height of the graphics output in inches. If this keyword is set then the width is set according to the aspect ratio of the window, and the WIDTH keyword is ignored.

LANDSCAPE

Set this keyword to 1 to use Landscape orientation. The default is Portrait orientation.

WIDTH

Set this keyword to the width of the graphics output in inches. If this keyword is set then the height is set according to the aspect ratio of the window, and the HEIGHT keyword is ignored.

XMARGIN

Set this keyword to the left offset of the lower-left corner of the graphics in inches. The default behavior is to center the graphics on the page.

YMARGIN

Set this keyword to the bottom offset of the lower-left corner of the graphics in inches. The default behavior is to center the graphics on the page.

Version History


8.0

Introduced

See Also


Save Method, Using IDL Graphics



Comments


This page has no comments yet. Be the first one!

© 2013 Exelis Visual Information Solutions