The following is taken from the O 5.9.1 release notes:
***** PLOTTING WITH O 5.9.1 ******
Plotting with O is somewhat different from release 5.9.1 onward. You can still use the PLOT command to produce a 'screen-dump' of molecular objects and the last map that was drawn, but there is a much more powerful method available now with which you can also plot masks, sketches etc. Just follow these steps:
(1) PLOTTING IN O =================This will take some time to set up, but the quality of the result is worth the effort. First go through PLOT_SETUP to define a few things (say NO to the 'plot menu ?' question !!). Then work out the VIEW that you want to have for your plot, using rotations, translations, slab and zoom. When you're satisfied, save the view matrix in a file:
O > write .gs_real view_mat.o ;
Then, it's best to create a macro which plots everything you want to include, e.g.:
! my plot macro ! ! read my favourite orientation etc. read view_mat.1 ! switch plot on plot_on ! draw everything mol a zone a12 a46 end mol b zone b300 b300 end @draw_my_map ! etc. ! ! switch plot off plot_off
You now have a huge plot file on disk which contains instructions to draw exactly what you see on the screen right now !
(2) CUSTOMISING THE PLOT FILE =============================
The new oplot lacks some functionality of the older OPLOTAT, in particular:
In order to remedy this (and to clean up the plot files), you may use a new utility program called ODLEDIT. Moreover, ODLEDIT allows you to change the SLAB and the SCALE ("zoom"; the so-called WIZKID lines ...).
Example:
unix> /nfs/public/IRIX/bin/4d_odledit ... Input ODL file (tmp.plt) a2u_001.oplot Output ODL file (okay.plt) okay.plt Delete MENU objects (Y/N) ? (Y) y Delete PROMPT objects (Y/N) ? (Y) y Edit WIZKID lines (Y/N) ? (Y) y Working ... Begin > (disp_all) Scale ? ( 0.388) 0.85 Slab ? ( -20.000 20.000) -6 6 Begin > (CA_COL1) ... Begin > (CA_3D_TEXT) Display object LEO (Y/N) ? (Y) y Z-thickening ? ( 4.000 1.000) 4 3 Display object CA (Y/N) ? (Y) y Z-thickening ? ( 4.000 3.000) 3 2 Display object AVEMAP (Y/N) ? (Y) y Z-thickening ? ( 3.000 2.000) 0.5 0.2 Clean ODL file written ... Lines read : ( 15850) Lines written : ( 15286) ...
(3) RUNNING OPLOT =================
Morten has written a new conversion program which will read O plot files and convert them into (colour) PostScript. Note: the NEW plot files can NOT be converted with the old OPLOTAT program !! The new program is called oplot (either es_oplot or 4d_oplot). It has several command line options, the most interesting of which are:
-f draw a frame around the picture -g produce colour GhostScript output (for viewing) -b produce black-and-white PostScript output (for printing) -v verbose mode (prints a log of what it's doing)
Example:
unix> 4d_oplot -bf < okay.plt > tmp.ps
(4) GETTING IT RIGHT ====================
Check the drawing with GhostScript or GhostView. Example:
unix> gs tmp.ps
If you're not satisfied, go back to step (2), i.e. run ODLEDIT again and change the SLAB, SCALE and/or Z-THICKENINGs; convert with oplot and check again. If you're really demanding, read the oplot manual and go and edit the plot file yourself.
(5) HARDCOPY OUTPUT (Uppsala only) ==================================
When you're happy, print the PostScript file. Make sure that the following alias has been set:
alias print /home/gerard/bin/print
Then print your file on the QMS laserprinter on the first floor (DAISY):
unix> print qms tmp.ps
or the one on the second floor (XRAY):
unix> print laser tmp.ps