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.

e drawn. NAMNUM contain the arrays lnames and lnumbs, identifying the path, in pairs and separated<br />

by commas; for example (with n=2) : ’lname(1),lnumbs(1),lname(2),lnumbs(2) ’ CHNRS is the name of<br />

the reference system used: MARS for MAster Reference System or DRS for Daughter Reference System.<br />

NRS=0 for MARS or NRS〈〉0 for DRS If optional parameters are missing, the current values in /GCDRAW/<br />

are taken.<br />

3.6 DCUT name caxis cutval [ u0 v0 su sv ]<br />

NAME C “Volume name”<br />

CAXIS C “Axis value”<br />

CUTVAL R “Cut plane distance from the origin along the axis”<br />

U0 R “U-coord. (horizontal) of volume origin”<br />

V0 R “V-coord. (vertical) of volume origin”<br />

SU R “Scale factor for U-coord.”<br />

SV R “Scale factor for V-coord.”<br />

Possible CAXIS values are:<br />

X<br />

Y<br />

Z<br />

CALL GDRAWC(name,iaxis,cutval,u0,v0,su,sv)<br />

The cut plane is normal to caxis (X,Y,Z), corresponding to iaxis (1,2,3), and placed at the distance cutval<br />

from the origin. The resulting picture is seen from the the same axis. If optional parameters are missing, the<br />

current values in /GCDRAW/ are taken. When HIDE Mode is ON, it is possible to get the same effect with<br />

the CVOL/BOX command.<br />

3.7 DXCUT name cutthe cutphi cutval [ theta phi u0 v0 su sv ]<br />

NAME C “Volume name”<br />

CUTTHE R “Theta angle of the line normal to cut plane” R=0.:360.<br />

CUTPHI R “Phi angle of the line normal to cut plane” R=0.:360.<br />

CUTVAL R “Cut plane distance from the origin along the axis”<br />

THETA R “Viewing angle theta (for 3D projection)” R=0.:360.<br />

PHI R “Viewing angle phi (for 3D projection)” R=0.:360.<br />

U0 R “U-coord. (horizontal) of volume origin”<br />

V0 R “V-coord. (vertical) of volume origin”<br />

SU R “Scale factor for U-coord.”<br />

SV R “Scale factor for V-coord.”<br />

CALL GDRAWX(name,cutthe,cutphi,cutval,theta,phi,u0,v0,su,sv)<br />

The cut plane is normal to the line given by the cut angles cutthe and cutphi and placed at the distance cutval<br />

from the origin. The resulting picture is seen from the viewing angles theta,phi. If optional parameters are<br />

missing, the current values in /GCDRAW/ are taken.<br />

363 XINT002 – 7

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

Saved successfully!

Ooh no, something went wrong!