- Creating plots and graphs
Creating plots and graphs
MagScope has the ability to show the magnetic field in different plot and graph formats, such as 2D, 1D, surface and quiver plots.
The 2DPlot element visualizes the data in a two dimensional color graph. When creating a 2DPlot element the ‘2DPlot’ window is shown. The 2DPlot allows you to draw following plot elements such as lines and circles. Measurements can be made between plot elements of the same type.
From the plot window, cross-sections and 2D areas can be selected and further analyzed in a new network.
The color scale is displayed on the right. The scale can be modified in two manners, by altering the ‘Min/Max’ values or by changing the ‘Center/Delta’ values.
For the ‘Min/Max’ method, the scale can be altered by either using the auto scale mode or manually adjusting the minimum and maximum values of the axis. The minimum and maximum values can be forced to be symmetric by toggling the ‘link’ button between them.
For the ‘Center/Delta’ method, the auto scale mode is activated with the ‘Auto around zero’ and ‘Auto’ buttons:
- Auto around zero: the scale is made symmetric around zero, such that zero magnetic field corresponds with the middle color of the color scale. This ensures that one polarity of field is always shown in the same color.
- Auto: the scale is adjusted to the real minimum and maximum value of the data range.
The amount of color divisions can be set using the ‘Bins’ spin box. This allows to create extra contrast and add contour lines.
The color scale consists of 5 colors that can be chosen from the color selection toolbar, which is made visible using the button. The colors can be inverted by clicking the ‘Invert’ button. The colors can be reset to the default values with the ‘Default’ button.
The colors can also be set in the Options/2DPlot menu in the main MagScope menu such that they are used for each new 2DPlot.
Note: By default, red is negative field and blue is positive field, corresponding to north and south poles, respectively (in the case where the magnet is placed on top of the magnetic field camera). However, when the camera is mounted on a scanner (i.e. located above the magnet under test), the colors should be inverted in order to still have north/south poles visualized in red/blue, respectively.
The 1DPlot element visualizes 1D data in a 1-dimensional graph. When creating a 1DPlot element the ‘1DPlot’ window is shown. The 1DPlot allows you to make plot elements in the same way as in the 2DPlot window. These plot elements can be used for measurements and analysis of the graph.
The 1D graph displays a line plot of the data (bottom graphs in picture above). The scale of the vertical axis can be modified as in the case of a 2Dplot, by altering the ‘Min/Max’ values or the ‘Center/Delta’ values. The plot on the right is zoomed in more compared to the left, highlighting the inhomegeneities in the magnet.
The Surface Plot element visualizes data in a 3 dimensional graph. Below are examples of surface plots of a ring magnet and a cylinder magnet
By clicking and holding the graph with your mouse, the graph can be rotated 360 degrees around all 3 axis.
The graph can also be rotated 360 degrees around all 3 axis.