Object: CurveRelatedYScaling
- Updated2024-09-12
- 2 minute(s) read
(Collections | CurveChart2D) > CurveRelatedYScalings > Object: CurveRelatedYScaling
Object: CurveRelatedYScaling
The CurveRelatedYScaling object provides a y-scaling in a 2D axis system in DIAdem VIEW. Use the CurveRelatedYScaling object to specify the properties of a y-scaling. Several curves in a 2D axis system can use the same y-scaling.
![]() |
Note You can only apply curve-related y-scalings to a 2D axis system if YScaling is set to n systems [phys.] or n axes [phys.]. |
The following example creates a 2D axis system with three curves and assigns a curve-related y-scaling to each curve:
| VBScript | Python |
Dim oMySheet, oMyChart Call View.Sheets.RemoveAll() Call View.NewLayout() Set oMySheet = View.ActiveSheet oMySheet.Name = "MySheet" View.ActiveSheet.ActiveArea.DisplayObjType = "CurveChart2D" Set oMyChart = View.ActiveSheet.ActiveArea.DisplayObj oMyChart.YScaling = "n systems [phys.]" oMyChart.UseCurveRelatedYScaling = TRUE Dim oMyYScalingList, oMyYScaling1, oMyYScaling2 Set oMyYScalingList = View.ActiveSheet.ActiveArea.DisplayObj.YScalingList Set oMyYScaling1 = oMyYScalingList.Add ("MyScaling1","Scale1") oMyYScaling1.Mode = eVIEWYScalingModeAutomatic Set oMyYScaling2 = oMyYScalingList.Add ("MyScaling2","Scale2") oMyYScaling2.Mode = eVIEWYScalingModeManual oMyYScaling2.Begin = 4000 oMyYScaling2.End = 7500 Dim oMyCurve1, oMyCurve2, oMyCurve3 Set oMyCurve1 = oMyChart.Curves2D.Add("[1]/[1]","[1]/[2]") oMyCurve1.CurveRelatedYScalingName = "MyScaling1" Set oMyCurve2 = oMyChart.Curves2D.Add("[1]/[1]","[1]/[3]") oMyCurve2.CurveRelatedYScalingName = "MyScaling2" Set oMyCurve3 = oMyChart.Curves2D.Add("[1]/[1]","[1]/[4]") oMyCurve3.CurveRelatedYScalingName = "MyScaling1"
Returned From
See Also
Examples
Alignment Functions in DIAdem VIEW | Automatic Display of Harmonic Frequencies | Bird's Eye View Display | Calculating a Tangent to a Curve | Contour Display in DIAdem VIEW | Creating and Viewing Long Data Channels | Dynamic Display of Statistical Characteristic Values in DIAdem VIEW | Overlaying Objects in Videos | Planetary Motion | Synchronizing Videos and Data | Synchronizing Videos and Waveform Data | User Dialog Box in VIEW for the Calculation of the FFT and Harmonic Frequencies | Using a User Command to Calculate the Difference between the Y-Values | Various Display Modes in DIAdem VIEW | Vibration Data Analysis with Parallel Processing | Viewing and Automatically Analyzing Data
