xfplot
Section: User Commands (1)
Updated: 10 Sep 2001
Index
NAME
xfplot - create (control) surface plots for xfl-based fuzzy systems
SYNOPSIS
xfplot
[
-O opsfile
]
[
-o outprefix
]
[
-r
]
[
-s samples
]
[
-v var:value
]
[
-w
]
-x variable
-y variable
-z variable
xflfile
DESCRIPTION
xfplot
creates a (control) surface plot from the behavior of an xfl-defined fuzzy system using two inputs (defined by
-x
and
-y)
and one output (defined by
-z),
with the rest of the inputs fixed to a user-configurable value.
The actual building of the surface data is done by means of a C program derived from the xfl definition of the system.
xfplot
automatically compiles and executes the program.
Data is generated in a format suitable for parametric surfaces as defined by
gnuplot(1)
and
xfplot
can be directed to automatically start the surface viewer (which is the default) or simply generate the data file.
By default, the C source file, the executable and the data file are generated in a temporary directory, defined by the environment variable FSTMPDIR ("/tmp" if not set). This behavior can be modified to store source, executable and data files using an user configurable prefix
OPTIONS
- -O opsfile
-
Use
opsfile
as the fuzzy operations file (see
xfc(1)
for more details).
- -o outprefix
-
Use
outprefix
as the prefix for the output file. This prefix is prepended to the strings "Splot.c", "Splot" and ".splot" to form the file names corresponding to C source, executable and data file, respectively. By default, a temporary directory and a system-generated temporary prefix are used.
- -r
-
Do not start the surface viewer automatically when data have been generated. This option cannot be used if files are going to be stored in a temporary directory (i.e.,
-o
is not used).
- -s samples
-
Use
samples
as the number of values of the inputs which will define the parametric surface. If not specified, 20 values per variable are employed.
- -v var:value
-
Set
value
as the fixed value for input
var,
instead of the center of the universe of discourse defined for the variable in the xfl source file (which is the default).
- -w
-
Suppresses the printing of warning messages on stderr.
ENVIRONMENT
- FSCCOMPILER
-
Defines the C compiler to be used for building the program that creates the surface plot. Defaults to "cc" if not set.
- FSTMPDIR
-
Defines the directory to be used for temporary files, if the
-o
option is not used. Defaults to "/tmp" if not set.
FILES
- libfrt.a
-
Runtime library used by the surface data generation code.
SEE ALSO
xfuzzy(1),
xfc(1),
xfsim(1)
A guide to xfl,
Xfuzzy user guide
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- ENVIRONMENT
-
- FILES
-
- SEE ALSO
-