next up previous contents index
Next: E.1 Basic graphics commands Up: Part III: Appendices Previous: D Table of Current

E Sample Plots

 

This appendix contains several examples of plot files generated using many of the WIP commands described in this manual. Because of the obvious limitations of print, commands like color are omitted from this appendix. Wherever possible, each command is followed by a comment statement. While these comments, marked by the comment character  (#),  are not required, they do provide information as to why certain commands are included or are necessary to generate a certain aspect of a plot. The user is strongly encouraged to include comments whenever possible; especially in macro definitions. All plots in this appendix may be reproduced by typing the commands listed in the accompanying plot files.

Figure E.1
is a very basic plot demonstrating many of the commands that control the simple graphical attributes described in Chapter 3.

Figure E.2
demonstrates how to read data in from an external file.

Figure E.3
shows several examples of how to annotate a plot with text and also illustrates the various fonts available in WIP.

Figure E.4
displays the lower and upper case Greek letters and the Roman characters needed to generate them.

Figure E.5
presents a simple example of how to partition a single plot surface into sub-regions or panels; illustrates the various ways that the box   command may be called; and demonstrates how to define and pass arguments to a macro .

Figure E.6
presents a more complicated example of how to use macros and how to generate array entries. This example also illustrates the use of the set and loop commands.

Figure E.7
  plots the standard graph markers used by the symbol   command.

Figure E.8
  continues the previous example by illustrating how to display the Hershey symbols used by WIP. The macro, as listed, will display all currently available Hershey symbols, but only the first page is shown in this example. This example also makes use of macros , panels , and the loop  command.

Figure E.9
is an example of how to generate a fit and display it. The different methods of fits are illustrated.

Figure E.10
is a simple example of how to generate an image halftone and wedge and also lists a typical header for a FITS   image file.

Figure E.11
expands on the previous example by demonstrating how to extract a subimage and display it in a different region on the view screen. In addition, it illustrates the power of user variables  and macros in moving to various regions of the display.

Figure E.12
expands on the previous two image examples by showing how to overlay two images that have different resolutions.

Figure E.13
is the same as Figure E.10 except that it is done in color.

Figure E.14
displays a collection of color palettes. This example makes use of the loop and wedge commands.





next up previous contents index
Next: E.1 Basic graphics commands Up: Part III: Appendices Previous: D Table of Current



morgan@astro.umd.edu