The three characters indicate the font of the label‚Äîin this case "ASCII Simplex" (see the section in this chapter, " Fonts"). These labels are controlled by the PPL TITLE, PPL XLAB, and PPL YLAB commands, respectively. The first three lines of output show the plot title, the X axis label, and the Y axis label. LINE PT: 0.000E+00 0.000E+00 NO LINE LEFT JUSTIFY LABEL ![]() LINE PT: 0.000E+00 0.000E+00 NO LINE CENTER JUSTIFY LABEL Yes? PPL LIST SURFACE TEMPERATURE (Deg YPOS HGT ROT UNITS The PPLUS command PPL LIST LABELS can be used to list the currently defined labels. This can be used to position other plot elements relative to a label. If the user produces a plot in window B, and then returns to a previous window A and adds a label with LABEL, that label will appear on the screen correctly, but will be in the metafile corresponding to window B.Ĥ) The LABWID function (Ferret version 5.81 and higher) returns the width in plot inches of a label in a This has ramifications for the user who has multiple plot windows open and is in MODE METAFILE, since a metafile is not closed until a new plot is begun. Consequently, no label number is assigned and the label cannot be manipulated as a movable label.ģ) %LABEL is an unusual command in that the label appears on the plot immediately after the command is given, rather than being deferred. PPLUS does NOT consider a label created with %LABEL to be a movable label. Also try the demo script multi_line_demo.jnl for examples of this usage.ġ) If you use the command PPL LABS instead of LABEL, be aware that when defining a new movable label, all lower-numbered labels must already be defined.Ģ) The Ferret command LABEL is an alias for PPL %LABEL. If centered labels are requested, each line is centered separately. To create multiple-line labels, use the separator to locate the line-breaks. This applies to all kinds of labels: titles, axis labels, and moveable labels. Very long labels may be specified, up to 2048 characters long. Labels specified using LABEL/NOUSER will need to be adjusted if the aspect ratio or viewport is changed. Note, however, that the layout of a plot in inches‚ lengths of axes, label positions, etc.‚ shifts with changes in window aspect ratio (SET WINDOW/ASPECT) and with the use of viewports. If you prefer to locate labels using inches rather than using data units issue the command ![]() The label position will adjust itself automatically when the plot aspect ratio or the viewport is changed. There is an example in the section below on PPLUS label commands. ![]() Where xpos and ypos are in user (axis) units, size is in inches, angle is in degrees (0 at 3 o'clock) and center is -1, 0, or +1 for left, center, or right justification. Yes? LABEL xpos,ypos,center,angle,size text ![]() The Ferret command LABEL adds a label to a plot and takes the following arguments: It can be issued in a PLOT/SET sequence, to define one or more labels that are put onto the plot when the corresponding PPL PLOT command is given. The ANNOTATE/NORM qualifier gives easy control over the location of labels relative to plot axes.ĭEFINE ANNOTATION takes the same qualifiers as ANNOTATE, and defines a moveable label. Note that you can use the LABEL command to add any labels that you need.īeginning with ferret v6.95 the Ferret command ANNOTATE offers another alternative for adding a label to a plot.Įxamples may be found in the demo script. The /NOLABELS qualifier suppresses the plot title, the documentation and signature, and the axis labels of independent axes. Ferret, by default, produces labeled axes, a plot title, documentation about the data set, the plot axes normal to the plot, and a signature (current date and Ferret version number) when a plot is rendered.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |