|
|
|
|
|
|
|
|
|
has_records
|
has_records(file)
returns 1 if FILE has history records, 0 if it does not.
unknown type function, documented at startup/std.i line 2258
| |
|
hcp
|
hcp
hcpon
hcpoff
The hcp command sends the picture displayed in the current graphics
window to the hardcopy file. (The name of the default hardcopy file
can be specified using hcp_file; each individual graphics window may
have its own hardcopy file as specified by the window command.)
The hcpon command causes every fma (frame advance) command to do
and implicit hcp, so that every frame is sent to the hardcopy file.
The hcpoff command reverts to the default "demand only" mode.
unknown type function, documented at startup/graph.i line 214
| |
| SEE ALSO: |
window, |
|
|
hcp_file
|
hcp_file, filename, dump=0/1, ps=0/1
sets the default hardcopy file to FILENAME. If FILENAME ends with
".ps", the file will be a PostScript file, otherwise it will be a
binary CGM file. By default, the hardcopy file name will be
"Aa00.cgm", or "Ab00.cgm" if that exists, or "Ac00.cgm" if both
exist, and so on. The default hardcopy file gets hardcopy from all
graphics windows which do not have their own specific hardcopy file
(see the window command). If the dump keyword is present and non-zero,
the current palette will be dumped at the beginning of each frame
of the default hardcopy file (default behavior). With dump=0,
all colors are converted to a gray scale, and the output files are
smaller because no palette information is included.
Use ps=1 to make "Aa00.ps", "Ab00.ps", etc by default instead of CGM.
The dump= and ps= settings persist until explicitly changed by a
second call to hcp_file; the dump=1 setting becomes the default for
the window command as well.
unknown type function, documented at startup/graph.i line 124
| |
| SEE ALSO: |
window, |
|
|
hcp_finish
|
filename= hcp_finish()
or filename= hcp_finish(n)
closes the current hardcopy file and returns the filename.
If N is specified, closes the hcp file associated with window N
and returns its name; use hcp_finish(-1) to close the default
hardcopy file.
unknown type function, documented at startup/graph.i line 134
| |
| SEE ALSO: |
window, |
|
|
hcp_out
|
hcp_out
or hcp_out, n
finishes the current hardcopy file and sends it to the printer.
If N is specified, prints the hcp file associated with window N;
use hcp_out,-1 to print the default hardcopy file.
Unless the KEEP keyword is supplied and non-zero, the file will
be deleted after it is processed by gist and sent to lpr.
unknown type function, documented at startup/graph.i line 154
| |
| SEE ALSO: |
window, |
|
|
hcpoff
|
unknown type function, documented at startup/graph.i line 214 | |
| SEE |
hcp |
|
|
hcpon
|
unknown type function, documented at startup/graph.i line 214 | |
| SEE |
hcp |
|
|
hcps
|
hcps, name
writes the picture in the current graphics window to the
PostScript file NAME+".ps" (i.e.- the suffix .ps is added to NAME).
Legends are not written, but the palette is always dumped.
unknown type function, documented at startup/graph.i line 170
| |
| SEE ALSO: |
hcps, |
|
|
help
|
help, topic
or help
Prints DOCUMENT comment from include file in which the variable
TOPIC was defined, followed by the line number and filename.
By opening the file with a text editor, you may be able to find
out more, especially if no DOCUMENT comment was found.
Examples:
help, set_path
prints the documentation for the set_path function.
help
prints the DOCUMENT comment you are reading.
This copy of Yorick was launched from the directory:
**** Y_LAUNCH (computed at runtime) ****
Yorick's "site directory" at this site is:
**** Y_SITE (computed at runtime) ****
You can find out a great deal more about Yorick by browsing
through these directories. Begin with the site directory,
and pay careful attention to the subdirectories doc/ (which
contains documentation relating to Yorick), and include/ and
contrib/ (which contain many examples of Yorick programs).
Look for files called README (or something similar) in any
of these directories -- they are intended to assist browsers.
The site directory itself contains std.i and graph.i, which
are worth reading.
Type:
help, dbexit
for help on debug mode. If your prompt is "dbug>" instead of
">", dbexit will return you to normal mode.
Type:
quit
to quit Yorick.
unknown type function, documented at startup/std.i line 71
| |
| SEE ALSO: |
quit, legal |
|
|
histeq_scale
|
histeq_scale(z, top=top_value, cmin=cmin, cmax=cmax)
returns a byte-scaled version of the array Z having the property
that each byte occurs with equal frequency (Z is histogram
equalized). The result bytes range from 0 to TOP_VALUE, which
defaults to one less than the size of the current palette (or
255 if no pli, plf, or palette command has yet been issued).
If non-nil CMIN and/or CMAX is supplied, values of Z beyond these
cutoffs are not included in the frequency counts.
unknown type function, documented at startup/graph.i line 1301
| |
| SEE ALSO: |
bytscl, |
|
|
histogram
|
histogram(list)
or histogram(list, weight)
returns an array hist which counts the number of occurrences of each
element of the input index LIST, which must consist of positive
integers (1-origin index values into the result array):
histogram(list)(i) = number of occurrences of i in LIST
A second argument WEIGHT must have the same shape as LIST; the result
will be the sum of WEIGHT:
histogram(list)(i) = sum of all WEIGHT(j) where LIST(j)==i
The result of the single argument call will be of type long; the
result of the two argument call will be of type double (WEIGHT is
promoted to that type). The input argument(s) may have any number
of dimensions; the result is always 1-D.
KEYWORD: top=max_list_value
By default, the length of the result is max(LIST). You may
specify that the result have a larger length by means of the TOP
keyword. (Elements beyond max(LIST) will be 0, of course.)
unknown type function, documented at startup/std.i line 963
| |
| SEE ALSO: |
digitize, |
|
|
|
|
|
|
|
|
|