22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CALL GDMAN<br />

CALL GWOMA1<br />

CALL GDWMN2<br />

CALL GDWMN3<br />

(U0,V0)<br />

(U0,V0)<br />

(U0,V0)<br />

(U0,V0)<br />

U0<br />

V0<br />

(REAL) U coordinate of the centre of the figure;<br />

(REAL) V coordinate of the centre of the figure.<br />

Draws the profile of a man, or three different female figures in 2D user coordinates, with the current scale<br />

factors. The figure is approximately 160 cm high.<br />

CALL GDRAWT<br />

(U,V,CHTEXT,SIZE,ANGLE,LWIDTH,IOPT)<br />

U (REAL) U position of text string;<br />

V (REAL) V position of text string;<br />

CHTEXT (CHARACTER*(*)) text string;<br />

SIZE (REAL) character size (cm);<br />

ANGLE (REAL) rotation angle (degrees);<br />

LWIRTH (INTEGER) line width (1,2,3,4,5);<br />

IOPT (INTEGER) centering option for the text:<br />

-1 left adjusted;<br />

0 centered;<br />

1 right adjusted.<br />

Draws text with software characters. It has the same arguments of the HPLOT [7] routine HPLSOF (a call to<br />

HPLSOF is actually performed).<br />

CALL GDRAWV<br />

(U,V,NP)<br />

U<br />

DT<br />

NP<br />

(REAL) array of U coordinates;<br />

(REAL) array of V coordinates;<br />

(INTEGER) number of points.<br />

Draws 2D polylines in user coordinates. The routine GDFR3D can be called to transform 3D points in 2D<br />

user coordinates.<br />

CALL GDHEAD<br />

(ISEL,CHNAME,CHRSIZ)<br />

ISEL<br />

(INTEGER) option to be selected for the title name (decimal integer):<br />

0 only the header lines;<br />

xxxxx1 add the text CHNAME centered on top of header;<br />

xxxx1x add global detector name (first volume) on left;<br />

xxx1xx add date on right;<br />

xx1xxx select thick characters for text in top of head (i.e. with larger line width);<br />

98 DRAW400 – 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!