Creating Graphs for Components

You can create graphs for each component in a model from the Runtime Gateway or the Design Gateway.

  1. Select the component for which you want to create graphs from the model explorer on the left side of the gateway, and click the Graphs or Graph Templates tab.

    The contents of the tab appear with the selected component’s name displayed at the top of the tab.

  2. Verify that the proper page is selected at the bottom of the tab. By default, Page 1 is used. You can create multiple pages using the <New> tab.

  3. Create a graph by doing any of the following:

    • Click the Graph button below the component title bar.
    • Click the button next to the Graph button, and select the desired graph type.
    • Double-click the desired graph's icon displayed on the toolbar next to the Graph and Table buttons. You can also drag and drop the icon onto the grid.

      Tip: You can control the icons that are displayed on the toolbar by clicking the Visual Palette button and moving graphs from the Available list to the Selected list. You can also drag the icons on the toolbar to arrange the icons more efficiently.

  4. If you created the graph by using the Graph button, do the following:

    1. Select the type of graph that you want to use from the Graph Creation Wizard. If you are working with a component that has specialized graphs, click the component’s tab to select a specialized graph. For information about each of the available graphs, see Standard Graph Types or Specialized Graph Types.
    2. Click Next.

  5. If you want to graph parameters, do the following:

    1. Click a parameter to select parameters individually.
    2. Click Select to choose groups of parameters (Inputs, Outputs, Local, or All). For more information about the parameter modes, see About the Parameter Mode.
    3. If you are working with a process component, select the component from the Show Parameters For list to plot only the inputs/outputs of the component. Alternatively, select Subflow to plot the subflow run data. The default is Subflow.
    4. If you are creating an array graph for a 2D array parameter, you can select a single slice of the 2D parameter.
    5. Click Clear to remove your selections.
    6. Click Next.

  6. If you want to graph file parameters (which are supported only in 2D Scatter Plots, Area Graphs, Line Graphs, and Step Graphs), do the following:

    1. Select Read from File in the list at the top of the dialog box.
    2. Select the file parameter that you want to plot. You may be prompted to select the template from disk if the file for the selected file parameter cannot be read; for example, if the model has not been executed yet.
    3. Click Next.

      The Analyze the Data File dialog box appears.

    4. Select the delimiter and rows, and click Next.

      The Configure the Parameters dialog box appears.

    5. Select the columns that you want to plot.

      You must select exactly the same number of columns as the number of dimensions supported for the selected plot.

    6. Click Next.

  7. If available, click Overlay (Multi-line) to create a single graph with multiple data sets (one for each parameter). If this option is not selected, a separate graph is created for each selected parameter.

  8. Click Next.

  9. From the Graph Options screen, set any additional display options for the graph. Depending on the type of graph you are creating, this screen contains two tabs (General and 2D) or it shows all the information on a single screen. Some options may not be available, depending on the type of graph you are creating.

    After you create the graph, you can change any of these options without recreating the graph (see Update the Options Used to Create a Graph).

    • If available, set the following options on the General tab:
      • Custom X Axis Label, Custom Y Axis Label, Custom Z Axis Label. Enter the X-axis label, Y-axis label, or Z-axis label that will appear on the graph. By default, Isight uses the corresponding parameter name. If a unit has been defined for the parameter, it also appears as part of the label.
      • Custom Title. Enter the title that will appear at the top of the graph. By default, Isight uses a combination of the selected parameter names and the type of graph to create the title.
      • Show Legend. Select this option if you want to display a legend. If selected, you will need to designate a location with respect to the graph.
      • Include Failed Runs. Select this option if you want the graph to include any runs that do not execute successfully.
    • If available, set the following options on the 2D tab.
      • Logarithmic X Axis and Logarithmic Y Axis. Select these options to change the numeric scaling of either axis to be logarithmic. These options can assist you in seeing all the data points when the data in the graph are displayed in varying degrees of magnitude.
      • Show gridlines. Select this option to display gridlines on the graph.
      • Lock Axis Bounds. Select this option to turn off automatic scaling. When selected, the graph does not change its axis when the data are filtered, and you can set the X and Y minimum and maximum values in the corresponding text boxes.
      • Custom Axis Tick Precision. Select this option to define a custom precision for the tick label of the given axis. A negative value indicates the number of digits to the left of the decimal point (e.g., –3 means round to the nearest thousand). A positive value indicates the number of digits to the right of the decimal point (e.g., 2 means round to the nearest hundredth). Valid values range from –14 to 6.
    • If you are creating a Contour Graph or Surface Graph, the following options are available on the Graph Options screen:
      • Clip Z-Axis Values to Actual Data Range. Select this option to remove values that are outside the data range. When creating a three-dimensional surface from a set of data points, some Z-axis values may extend past the actual data range. If you select this option, Isight removes the values that are outside the data range from the graph.

        Note: You can define the default value of this setting using the Isight preferences (see Setting Postprocessing Preferences).

      • Data Fitting Method. Select the technique used to create a three-dimensional surface from a set of data points (Simple Fit, RSM Approximation, or RBF Approximation. For more information about the methods, see About Data Fitting Methods.

  10. Click Next.

  11. If you are working with a graph type that supports job selection (see Graph Types that Support Job Selection), determine the job information that will be used to create the graph from the Job Selection screen that appears.

    1. From the Selection Mode list, select one of the following:

      • Active Job. Use the most recently executed job.
      • All Loaded Jobs. Use all of the jobs that are loaded in the current session.
      • Selected Jobs. Use a subset of the jobs that are loaded in the current session. This subset is selected from the table of jobs that appears to the right of the Selection Mode list.

      If you save the graphs, the data from the jobs selected for use in the graph are stored with the graph itself. This behavior allows the graph to be viewed even when the selected jobs are not loaded into the Runtime Gateway.

      Note: Because the data for jobs other than the current job is stored with the graph, these data will be visible (within this graph) to anyone who is able to view the current job, regardless of any permissions that might have been set on the other jobs.

      For more information about jobs, see Executing and Managing Jobs.

    2. If you selected All Loaded Jobs or Selected Jobs, select Plot each job’s data as a separate series to plot each selected job as its own series in a single graph. When this option is not selected, the data from each job are combined into a single series and displayed in a single graph.

      For information about graphs that support plotting each job’s data, see Graph Types that Support Job Selection.

    3. If you selected Selected Jobs, from the table on the right side of the screen, specify the available jobs that you want to use to create the graph.

      Note: After you create the graph, you can change the Selection Mode or, if you chose the Selected Jobs option, the subset of jobs used to create the graph. For more information, see Update the Jobs Used to Create a Graph.

    4. Click Next.

  12. On the Creation Summary screen that appears, review and verify the information.

  13. Click Finish.

    Isight adds the graphs to the gateway.