source: trunk/SRC/ToBeReviewed/PLOTS/DIVERS/terminedessin.pro @ 378

Last change on this file since 378 was 378, checked in by pinsard, 16 years ago

improvements of headers (typo, links, paragraphes, etc)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[2]1;+
2;
[142]3; @file_comments
4; End the drawing if needed when it is a postscript.
[2]5;
[142]6; @categories
[157]7; Utilities, Graphics
[2]8;
[231]9; @keyword POST
[378]10; Make a postscript.
11;
12; Only works if we made one drawing on the page.
[237]13; If we make several drawing, use \@<pro>ps</pro>.
[2]14;
[231]15; @keyword SMALL {type=vector}
16; Vector composed of 3 or 4 elements, applied to make a drawing on a
[378]17; small portion of a page or screen.
[2]18;
[378]19; It delimit the zone where the drawing will be done.
20;
21; If there is 4 elements then is constituted of coordinates (expressed in cm
22; located from the up and left corner of the page or the window (in portrait
23; like in landscape)) of the bottom and left corner and of the up and right
24; corner of the drawing zone.
25;
26; If there is 3 elements we divide the page or the screen in small[0] columns
27; and in small[1] lines and the drawing is made in the box numbered small[2].
28;
29; The numerotation starting up and left by the number 1 and then, following
30; the writing direction.
31;
32; By default, we make the largest drawing we can do, conserving the aspect
33; ration (except when REMPLI is activated).
34;
[231]35; @keyword _EXTRA
36; Used to pass keywords
[2]37;
[142]38; @uses
[370]39; <pro>common</pro>
[2]40;
[142]41; @history
[157]42; Sebastien Masson (smasson\@lodyc.jussieu.fr)
[142]43;                       3/6/1999
[2]44;
[142]45; @version
46; $Id$
[2]47;
48;-
[327]49PRO terminedessin, POST=post, SMALL=small, _EXTRA=ex
[114]50;
51  compile_opt idl2, strictarrsubs
52;
[37]53@cm_4ps
54  IF NOT keyword_set(key_forgetold) THEN BEGIN
55@updatenew
56@updatekwd
57  ENDIF
58;---------------------------------------------------------
[2]59   if keyword_set(post) then BEGIN
[37]60      if keyword_set(small) then $
61      if total(small) NE $
62        (page_margins[2]+page_margins[0]+total(page_size) $
63         -page_margins[1]-page_margins[3]) then return
[2]64      closeps
[37]65      printps
[2]66   endif
67   return
68end
Note: See TracBrowser for help on using the repository browser.