C-PLOT

Scientific Graphics and Data Analysis

7.11. - Where to put arguments when stringing commands together



You can combine several drawing commands on one command line, but don't put spaces between the command characters. Any character following a space on the command line will be treated as an argument. Annotate and drawkey , described in this chapter, and select pen velocity, described in the next, can all take arguments. You must put the arguments after a single string of characters grouping all the commands together. For example,
pvaltnk vel an_hor an_ver an_file key_hor key_ver
will supply the pen velocity, the position and file for the annotation and the position for the key. First come the commands, then come the arguments.

You have to insert place holders for arguments you don't want to supply. The place-holder character is a -. A single - will hold the place of all the position arguments to a command (two in 2D mode and three in 3D mode) for annotate and draw key. For instance,
pvaltnk vel - an_file key_hor key_ver
will instruct the annotation command to act as it does when it is entered without position arguments.

You only need place holders if you have to put arguments past the place holders. For example, if you just want to set the pen velocity and supply the position for the annotation, you can enter
pvaltnk vel an_horz an_vert