...
- Load the magnetics IDS (see above 'Loading 'magnetics' IDS from an IMAS local data source example')
- Navigate through the 'magnetics' IDS of shot 52682 and select the next nodes:
- ids.magnetics.flux_loop[0].flux.data
- ids.magnetics.flux_loop[5].flux.data
- ids.magnetics.flux_loop[15].flux.data
- ids.magnetics.bpol_probe[0].field.data
- ids.magnetics.bpol_probe[40].field.data
ids.magnetics.bpol_probe[80].field.data
At this stage, there are six FLT_1D arrays selected.Note Currently, up to 6 plots only can be plotted simultaneously. This limitation will be removed in the future. Info Each plot can be customized individually; right click on a node and select 'Configure Plot'.
- Right-click on one of the selected node
- From the pop-up menu, select the command Plot all selected signals to a multiplot frame
- In the menu, select Options -> Save plots configuration and type Magnetics_flux_loop_bpol_probes as a name for the configuration, click the OK button
The configuration has been saved as a file in your $HOME/.imasviz directory (i.e Magnetics_flux_loop_bpol_probes.cfg file).
...
Open the shot 52344 if it is not already opened
Panel title Tutorial IDS case parameters: User name: g2lfleur
IMAS database name:test
Shot number:52344
Run number:0
- From the Options menu of the navigation tree of shot 52344, select the command Apply multiple plots configuration
- Click on the Apply configuration
The new multiplot should be displayed as shown in the image below.
Info |
---|
The time that is taken by the command 'Apply multiple plots configuration' is short (few seconds) if all the required IDSs have been loaded previously. If not, the command needs to load all IDSs (from which the data to be plotted are fetched) before to plot the data. |
...
- Select multiple FLT_1D arrays (as previously shown in section 3.4)
- Right-click on one of the selected arrays and select Open subplots manager
- SubPlot Manager Input window will be shown. The required number of subplots is automatically inserted. Press OK button to proceed
- Next, SubPlot Manager will open, displaying the selected arrays. The order of subplots can be customized if the user chooses so. Press Open subplots to proceed
Next, the resulting subplots will be shown within the same Subplot Manager display window with all subplots having the same x-axis range.
Info The x-axis range was defined by taking the minimum and maximum x-axis value between all of the selected FLT_1D arrays.
3.7.2 Applying mouse-selected x-axis range to all subplots
SubPlot Managers enables to select the plot section selection in the first subplot.
The x-axis range of other subplots will update, following the first subplot x-axis range.
To zoom out to default view chose Zoom Out option in the Options menu
3.7.3 SubPlot configuration
As already shown at the end of section 3.1, each plot can be configured. Same goes for the subplots in the SubPlot Manager.
For example, changing the theme of the first subpanel can be done by selection dark color theme in the configuration
This gives us the next SubPlot Manager view:
In order to apply the same theme to all subplots within the SubPlot Manager display window, select Top theme to all option in the Options menu.
This, for the dark plot theme, all other subplots below the first plot will be set to the selected theme.
Info |
---|
Note that this feature always takes theme set for the first subplot. |
...
When the SubPlot Manager display window is closed, it can be reopened from the Show/Hide subplots selection from the right-click menu.