awvGetXAxisMajorDivisions
awvGetXAxisMajorDivisions(w_windowID[?subwindowx_subwindow] ) =>x_majorDivisions/nil
Description
Returns the number of major divisions that are set on the x axis of a graph in a subwindow of the specified Waveform window.
Arguments
|
Identification number of the subwindow, which is found in the top-right corner of the subwindow. If you do not specify this argument, the current subwindow is used. |
|
Value Returned
|
Number of the major divisions on the x axis of the specified graph. |
|
Examples
The following example returns the number of major divisions on the x axis in the current subwindow of the current Waveform window.
awvGetXAxisMajorDivisions(awvGetCurrentWindow() ?subwindow awvGetCurrentSubwindow(awvGetCurrentWindow()))
=> 20
The following example returns the number of major divisions on the x axis in the subwindow 2 of the specified Waveform window.
awvGetXAxisMajorDivisions(window(16) ?subwindow 2)
=> 30
Return to top