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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Y<br />

N<br />

0<br />

1<br />

Possible CINTER values are:<br />

I<br />

B<br />

0<br />

1<br />

CALL GDFSPC(name,isort,inter)<br />

Same as DSPEC, but it will draw the specifications for all the volumes. If the alphabetic sorting flag is YES,<br />

all pictures will be drawn in ascending alphabetic order; isort is set to 1. If INTERACTIVE, (inter=1), the<br />

routine will prompt the user at each plot before doing a clear screen, otherwise it will clear automatically<br />

the screen before starting a new frame.<br />

3.14 DTEXT x0 y0 text size angle lwid cent<br />

X0 R “X-coord. (horizontal) of text string” D=10. R=0.:20.<br />

Y0 R “Y-coord. (vertical) of text string” D=10. R=0.:20.<br />

TEXT C “Text string” D=’GEANT’<br />

SIZE R “Character size (cm)” D=.5<br />

ANGLE R “Rotation angle (deg)” D=0. R=0.:360.<br />

LWID I “Line width” D=4<br />

CENT C “Centering option” D=’CENT’<br />

Possible CENT values are:<br />

CENT<br />

LEFT<br />

RIGH<br />

CALL GDRAWT(x0,y0,text,size,angle,lwid,opt)<br />

It allows one to draw some text in the current picture. Now more than 160 colours are available. The text<br />

colour must be set via the command IGSET. The size of the text will follow the zooming factors in the view<br />

banks.<br />

3.15 DVECTOR xvect yvect npoint<br />

XVECT C “Vector containing X-coord. (horizontal)”<br />

YVECT C “Vector containing Y-coord. (vertical)”<br />

NPOINT I “Number of coord.”<br />

XINT002 – 10 366

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

Saved successfully!

Ooh no, something went wrong!