Picky about graphs and their appearance? Want the best looking presentations?
This article will show how to use display layouts to control exactly how data is presented. Changing the defaults of display layouts and how to create new layouts will also be covered.
Picture 1: Default “FrontBack” display before the layout is customized with annotated ticks and grids
Display layouts in Simcenter Testlab (formerly called LMS Test.Lab) can be customized in several ways, for example, users can add tick marks, grids, and set the limits. These types of changes can be stored as part of the layout file so the changes do not need to be re-applied when opening a new layout.
This article has the following sections:
1. Limits
1.1 Optimized
1.2 Free
1.3 Fixed
2. Ticks Annotation, Fonts, and Grids
3. Saving and Managing Layouts
3.1 Saving a Layout
3.2 Managing Layouts
3.3 Opening a Display
4. Copying Settings between Displays
5. Layout Management Tool
6. Resizing Graphs
1. Limits
Right click just outside of the graph area on the either the X or Y axis to change how the limits operate (Picture 2). Select between Free, Optimized, or Fixed.
The default mode for the limits is Optimized. When limits are set to Optimized, they are automatically adjusted to show the entire range of the data (Picture 2).
Picture 2: Right click on Y-axis and select “Limits” and switch between “Free/Optimized/Fixed”. Optimized is the default.
In Optimized mode, the limits will be rounded to the next highest/lowest integer number that is appropriate for the data such that the entire range is shown.
When the limits are set to Free, the upper and lower value of the limits will be adjusted to automatically exactly match the highest and lowest value in the data itself (Picture 3). No rounding of the limits will be used as in the Optimized case.
Picture 3: Right click just outside the display graph to set the display limits set to “Free”. “Free” sets the upper and lower value of the limits exactly at the minimum and maximum value in the data being displayed.
Setting the limits to Free is a one way to find the exact minimum and maximum of the entire displayed dataset quickly.
The limits can also be set to Fixed. The user controls the exact minimum and maximum value to display as shown in Picture 4.
Picture 4: The user controls the exact upper and lower limit value when using “Fixed” limits. Right click just outside the display graph area to change to fixed.
Fixed limits is useful to display data in a consistent manner throughout an organization or within a presentation. Viewers can quickly tell if data is lower or higher than normal when fixed limits have been consistently used to display data.
2. Ticks Annotation, Fonts, and Grids
In addition to setting the mode for the limits, one can also add ticks annotation, adjust fonts and add grids. These can be selected independently for the Y axis and the X axis by right clicking just outside the graph and choosing “Options…” menu as shown in Picture 5.
When using the “Options…” menu, the ‘Apply’ button can be used to preview changes. ‘Apply’ makes the change, but leaves the dialog box open. This way, several different options can be tried without having to reopen the “Options…” dialog each time. Press ‘OK’ when the changes are final to exit the menu.
Picture 5: Right click just outside the graph area and select “Options” to change Ticks annotation, Fonts and Grids
By default, the only numbers shown in a Simcenter Testlab graph are the upper and lower limit of graph. Additional numbers can be added at regular intervals along the X-axis.
Right click just outside the graph area and select “Options…” to turn on Ticks Annotation. This will display numbers between the limits at the ticks. The spacing of the ticks and tick annotation can be changed under Ticks. The tick spacing default mode is Automatic. If the default spacing is not desirable, it can be set to Custom and specified by the user.
A grid can also be added to the display. The line style of the grid can be set and changed.
The font of the limits, unit, ticks annotation, etc can be specified. Both the font type (Arial, Helvetica, etc.), font size, and font color can be set.
3. Saving and Managing Layouts
Display settings can be saved in a layout (*.lay) file for future use.
3.1 Saving a Layout
Want to save these changes permanently? Click in the upper right of the display to and select “Save as Layout” as shown in Picture 6.
Picture 6: Click on the tab in the upper right of the display to choose “Save as layout”.
In the “Save as Layout” dialog, there are two options:
One can save to the existing default layout name that appears in the dialog and overwrite the default layout with the new changes.
Or one can save to a new name to create a brand new layout.
Layouts saved by the user are stored in the directory “C:\LMS\UserConfiguration\\LMS Test.Lab \Layout” or "C:\LMS\UserConfiguration\\Testlab \Layout”. The files have a *.lay extension. They can be copied between different computers or users by copying the *.lay file between windows directories.
*** It is advisable to remove the data from the layout before saving, since any displayed data will become part of the layout. ***
3.2 Managing Layouts
There are many layouts that are provided by default in Simcenter Testlab. They can be accessed in two different locations:
Picture 7: Favorite layouts versus “Create a Picture…” list of layouts
Layouts saved by the user are also available via the “Create a picture…” button.
3.3 Opening a Display
To open a “1x3” display, click on the button “Create a Picture”. Find the “1x3” layout in the list and highlight it. Press OK to open it (Picture 8).
Picture 8: Click on “Create a picture…” button to open a new display from the complete list of layouts.
Any layouts previously saved by the user will have the Level set to User in the list.
4. Copying Settings between Displays
After opening a new display with default layout settings, it is possible to copy layout settings from an existing display to a new one.
In the display that contains the desired layout settings, CTRL-RightClick and select “Display Format -> Copy” as shown in Picture 9.
Picture 9: CTRL-RightClick and select “Display Format -> Copy” to select layout settings to copy.
To update a new display with the copied settings, CTRL-RIghtClick in the new display and choose “Display Format -> Paste” (Picture 10).
Picture 10: CTRL-RightClick and select “Display Format -> Paste” to apply layout settings to display
It is possible to propagate layout settings to all other displays. CTRL-RightClick in the display and select “Display Format -> Align Front/Back displays”. All other displays will be updated with the new layout settings (Picture 11).
Picture 11: CTRL-RightClick and select “Display Format -> Align Front/Back displays” to propagate layout settings to other displays.
5. Layout Management Tool
The Layout Management tool can be used to preview layouts, create custom layouts, and manage the favorites.
To create a custom layout, click on the “Layout Management Tool” icon in the upper right of the display area (Picture 12).
Picture 12: Layout management icon is in upper right of display area.
Once in the “Layout Management Tool”, one can highlight and preview existing layouts via the list on the left. Use the UP-DOWN arrow key to scroll thru the layouts as shown in Picture 13.
Picture 13: Layout management tool has layout list and display preview area
To make a combination Front/Back and Colormap display, for example, select an appropriate layout like “1x2”. Right click on the desired display and choose “Switch to…” to change the Frontback to a Colormap (Picture 14).
Picture 14: Create a custom layout using the “Switch To…” menu in Layout Management
After making the new FrontBack/Colormap layout, save it to a new name by changing the name from “1x2” to a new name (for example, “1x2col”) and press “Save Layout” button (Picture 15).
Picture 15: New name field and “Save Layout” button for creating a new layout
The new layout name will appear in the layout list on the upper left side of the menu. If desired, used the “Add to Favorites” to make the new layout accessible with the favorite icons. Favorites are managed in the lower left area of the “Layout Management Tool”.
To open the new display, it can be found under the “Create a Picture…” menu as shown in Picture 16.
Picture 16: Open the new user display from the “Create a picture…” menu.
If the new display layout was added to the favorites, there will be an icon on the right side of the icon row to open it.
6. Resizing Graphs
When making custom layouts, it can be useful to resize graphs. For example, one may want the time axis of two different graphs to be the same size (Picture 17).
Picture 17: To make the time axis the same size between the two graphs, hold down the control key and click and drag on the graph boundary line.
This can be done by holding down the control key doing a click and drag on the appropriate graph boundary line.
Picture 18: Time axis are the same size after control click and drag operation.
Resized graphs can also be saved with the layout as before.
Hope this layout tutorial is useful. If you have questions, contact peter.schaldenbrand@siemens.com or Siemens Support Center.
Simcenter Testlab Display tips:
Simcenter Testlab General: