Comparing Configuration Performance Using Graphs
An Example of Performance Comparison Using Graphs
After having optimized several configurations, you may wish to compare the performance of two or more of them using a single graph. You can do that by creating a graph just for that purpose. The example that follows illustrates the technique.
For our example, we'll use the project named user-guide-8.msop from the sample files of the Getting Started Guide and the User Guide. In this example, there are six configurations. We'll compare the Alternative 1 configuration with Alternative 4. All six configurations have been optimized by the Multi-stage: Maximize SPL, minimize STSV and flatten MLP response method. Their optimization options differ only by how much the SPL penalty is allowed to increase from its optimum value in order to reduce seat-to-seat variation (STSV). This option is called Allow sub PEQs to increase SPL penalty by not more than, and is found on the Multi-Stage Options property page of the Optimization Options property sheet. This option is illustrated below.
The Alternative 1 configuration allows only a small SPL penalty increase from the optimum (0.25 dB), while Alternative 4 allows the SPL penalty to increase by 1.0 dB. We should expect the STSV of Alternative 4 to be lower than that of Alternative 1, because its SPL penalty is allowed to be larger.
The graph of the Alternative 1 data is shown below.
The graph of the Alternative 4 data is shown below.
These graphs were both created using the Configuration Wizard. We'd like to put both sets of traces on the same graph for comparison. To do that, we'll create a new graph.
Creating the Comparison Graph
To create a graph for comparing the Alternative 1 and Alternative 4 data, we could choose Graph, New Graph from the main menu. If we did that, we'd have to set all the options for axis limits, dB per division and so on from scratch. But the graphs we have for Alternative 1 and Alternative 4 both have the axis settings and some of the data we want, so we can use the graph cloning feature to clone one of these graphs. Then we can add data traces from the other to create the comparison graph. We'll do that by cloning the graph for the Alternative 1 configuration.
Graph cloning can be done either from the Data View by right-clicking on the name of the graph we wish to clone and choosing Clone Graph, or by using the main menu. We'll use the main menu to do so here.
From the main menu, choose Graph, Clone Graph. This brings up the Select Graph to Clone dialog as shown below.
Select the graph for Alternative 1 as shown above and press OK or hit the Enter key. This will create a new graph with a name that's automatically generated as shown in the image of the Data View below.
Before continuing, we'd like to change the graph name to something better than the automatically-generated one. Also, when we add traces from the Alternative 4 configuration, we'll have two different traces for each listening position (MLP, etc.). We'll need a way to distinguish which trace is from which configuration by inspection of the trace names. To do that, we need to rename both the graph and the traces that are on it so far. This is done by renaming tree items in the Data View.
Renaming items in MSO's tree views is done the same way you rename files and folders in the Windows File Explorer. Just select the item, press F2 (or click twice without double-clicking), and then you can edit the item's name in place. Using this technique, rename the graph and its traces as follows.
- Change the graph name from Copy of Alternative 1: Listening Positions to Alternative 1 vs. Alternative 4.
- Change the trace named MLP to A1:MLP.
- Change the trace named Pos 1 to A1:Pos 1.
- Change the trace named Pos 3 to A1:Pos 3.
After this renaming, the Data View should look as below.
Adding the Data from the Alternative 4 Configuration
The new graph already has all the listening position traces for the Alternative 1 configuration, so we only need to add the listening position traces for Alternative 4. To do this, make sure the Alternative 1 vs. Alternative 4 graph is active and press Ctrl+G to bring up its Graph Properties property sheet.
Under Data, select Measurement Groups. Check the checkboxes for the listening positions MLP, Pos 1 and Pos 3 of Alternative 4 so that the six traces shown below are checked.
Click OK or press Enter to close the property sheet and show the new graph traces. The Data View now looks as below.
The names of the added traces are too long and will clutter the legend. Using the same technique used previously to rename the traces, change the added trace names as listed below.
- Change the trace named Pos: Alternative 4: MLP to A4:MLP
- Change the trace named Pos: Alternative 4: Pos 1 to A4:Pos 1
- Change the trace named Pos: Alternative 4: Pos 3 to A4:Pos 3
After this renaming operation, the Data View should look as below.
The graph with all six traces should now look as below.
Now the trace names fit nicely into the legend, but the traces are all on top of each other. We need to separate them to be able to compare the two configurations visually.
Applying Trace Offsets to Separate the Data
We can separate the traces by applying trace offsets via the Trace Properties property sheet of the graph. Both configurations use a reference level of 80 dB. If we were to add a 20 dB positive offset to, say, the Alternative 4 traces, they'd be centered around 100 dB, making them clearly separated from the Alternative 1 traces. Let's do that now.
Make sure the Alternative 1 vs. Alternative 4 graph is active, then press Ctrl+T to bring up the Trace Properties property sheet. It should look as below.
Because of the trace renaming we did earlier, it's easy to distinguish which traces belong to Alternative 1 and which to Alternative 4. Select each trace belonging to Alternative 4 on the left, and enter a value of 20 for the Magnitude display offset, dB value at the top right of the property page as shown above.
You can test the effect of these changes on the graph without closing the property sheet by clicking the Apply button. When you're finished, click OK or press Enter to close the property sheet. The modified graph should look as below.
We can see from this graph that by allowing a slight increase in the SPL penalty degradation (from 0.25 dB to 1.0 dB), we've gotten a good decrease in seat-to-seat variation in the frequency range from 40 Hz to 120 Hz.
Having identified the frequency range over which the seat-to-seat variation has been improved, quantitative results of this improvement can be obtained by using the Configuration Metrics dialog using custom frequency ranges.
Comparing Configuration Performance Using Graph Browsing
A new method for using graphs to compare the performance of different configurations was introduced in MSO v2.1: graph browsing. This facility is provided by the Multiple-Configuration Performance Metrics dialog. You can launch this dialog in the following ways.
- Press Ctrl+M.
- Choose Config, Performance Metrics for All from the main menu.
- Right-click on any configuration in the Config View and choose Performance Metrics for All from the context menu.
- In the Config View, right-click on the topmost node and choose Performance Metrics for All from the context menu.
After launching this dialog, switch to the Configuration Graphs property page. The dialog will appear as below.
Using this dialog, you can change the selected configuration in the configuration list with the mouse or the up and down arrow keys. As you change the selection, the graph for the currently selected configuration will be shown.
For best results, the graphs should be configured so that the limits of horizontal frequency axes and of the vertical dB SPL axes are all the same.
You can control which graph is shown for a given configuration using the Associate Graphs to Configurations dialog.