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.

4 GEANT/GRAPHICS˙CONTROL<br />

Graphics control commands.<br />

4.1 DOPEN iview<br />

IVIEW I “View number”<br />

CALL GDOPEN(iview)<br />

When a drawing is very complex and requires a long time to be executed, it can be useful to store it in a<br />

view bank: after a call to DOPEN and the execution of the drawing (nothing will appear on the screen), and<br />

after a necessary call to DCLOSE, the contents of the bank can be displayed in a very fast way through a<br />

call to DSHOW; therefore, the detector can be easily zoomed many times in different ways. Please note that<br />

the pictures with solid colours can now be stored in a view bank or in ’PICTURE FILES’.<br />

4.2 DSHOW [ iview ]<br />

IVIEW I “View number”<br />

CALL GDSHOW(iview)<br />

It shows on the screen the contents of a view bank. It can be called after a view bank has been closed.<br />

4.3 DELETE iview<br />

IVIEW I “View number”<br />

CALL GDELET(iview)<br />

It deletes a view bank from memory.<br />

4.4 DCLOSE<br />

CALL GDCLOS<br />

It closes the currently open view bank; it must be called after the end of the drawing to be stored.<br />

4.5 CHANGEWK<br />

CALL GCHNWK It open a new workstation (if not already opened) and activate it (deactivating the default<br />

one).<br />

4.6 RESETWK<br />

CALL GRESWK It deactivate the previosly activated workstation and reactivate the default one.<br />

4.7 SSETAT iopt<br />

IOPT C “Attribute name”<br />

XINT002 – 18 374

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

Saved successfully!

Ooh no, something went wrong!