Property: CurveRelatedYScalingName for 2DCurve
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Properties > Property: CurveRelatedYScalingName for 2DCurve
Property: CurveRelatedYScalingName for 2DCurve
Assigns a curve-related y-scaling to a curve in a 2D axis system in DIAdem VIEW.
![]() |
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.]. |
Object.CurveRelatedYScalingName
| Object | 2DCurve Object with this property |
| Object.CurveRelatedYScalingName | String with read and write access |
The following example creates a 2D axis system with three curves and assigns a curve-related y-scaling to each curve:
| VBScript | Python |
Dim oMyChart View.NewLayout 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"
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
