Plot Generation Blocks
BuildHistogram
File: general_blocks/Plot_Generation/Build_Hist.sim
Description
This model is used to write a histogram plot file.
It is intended to accept the output of a Histogram box,
or other function that creates a real vector.
BuildHistogram accepts a real vector, creates a graph file,
and writes the data values to it, along with title and axes labels.
Multiple instances of this function may be used to create
multiple graphs. The graph can be viewed with XGraph.
Ports
Input Ports
Output Ports
Parameters
- plot_file_name Data Type: STRING
- plot_title Data Type: STRING
- x_title
Data Type: STRING
- y_title
Data Type: STRING
- normalize = 0 Data Type: INTEGER
BuildPlot
File: general_blocks/Plot_Generation/Build_plot.sim
Description
The model is used to initialize a plot-file. At simulation time=0.0,
it creates and initializes the specified plot-file. It places the
graph title and axes titles. It also establishes a graph-descriptor for
statistics recording, so that values can be sent to the graph from any
diagram. Multiple instances of this function may be used to create multiple
graphs. Additional parameters, such as graph_type=general_plot, are set
by this block.
Ports
Input Ports
Output Ports
Parameters
- plot_file_name Data Type: STRING
- plot_title
Data Type: STRING
- x_title
Data Type: STRING
- y_title
Data Type: STRING
BuildPlot_Ytime
File: general_blocks/Plot_Generation/Build_plot_count_Ytime.sim
Description
The model plots Y value by CSIM_TIME ( current simulator time). The
model is used to initialize a plot-file. At simulation time=0.0, it
creates and initializes the specified plot-file. It places the graph
title and axes titles. It also establishes a graph-descriptor for statistics
recording, so that values can be sent to the graph from any diagram.
Multiple instances of this function may be used to create multiple graphs.
Additional parameters, such as graph_type=general_plot, are set by this
block.
Ports
Input Ports
Output Ports
Parameters
- plot_file_name Data Type: STRING
- plot_title
Data Type: STRING
- x_title
Data Type: STRING
- y_title
Data Type: STRING
BuildPlot_Y
File: general_blocks/Plot_Generation/BuildPlot_Y.sim
Description
The model plots Y vector by count. The model is used to initialize
a plot-file. At simulation time=0.0, it creates and initializes the
specified plot-file. It places the graph title and axes titles. It
also establishes a graph-descriptor for statistics recording, so that
values can be sent to the graph from any diagram. Multiple instances
of this function may be used to create multiple graphs. Additional parameters,
such as graph_type=general_plot, are set by this block.
Ports
Input Ports
Output Ports
Parameters
- plot_file_name Data Type: STRING
- plot_title
Data Type: STRING
- x_title
Data Type: STRING
- y_title
Data Type: STRING
BuildPlot_Yonly
File: general_blocks/Plot_Generation/BuildPlot_Yonly.sim
Description
The model plots an Y only vector, by count. The model is used to initialize
a plot-file. At simulation time=0.0, it creates and initializes the
specified plot-file. It places the graph title and axes titles. It
also establishes a graph-descriptor for statistics recording, so that
values can be sent to the graph from any diagram. Multiple instances
of this function may be used to create multiple graphs. Additional parameters,
such as graph_type=general_plot, are set by this block.
Ports
Input Ports
Output Ports
Parameters
- plot_file_name Data Type:
STRING
- plot_title
Data Type: STRING
- x_title
Data Type: STRING
- y_title
Data Type: STRING
BuildPlot_XY
File: general_blocks/Plot_Generation/Build_plot_XY.sim
Description
The model plots an Y X vector. The model is used to initialize a plot-file.
At simulation time=0.0, it creates and initializes the specified plot-file.
It places the graph title and axes titles. It also establishes a graph-descriptor
for statistics recording, so that values can be sent to the graph from
any diagram. Multiple instances of this function may be used to create
multiple graphs. Additional parameters, such as graph_type=general_plot,
are set by this block.
Ports
Input Ports
- Xin Data Type: Data Set
- Yin Data Type:Data Set
Output Ports
Parameters
- plot_file_name Data Type:
STRING
- plot_title
Data Type: STRING
- x_title
Data Type: STRING
- y_title
Data Type: STRING