Applies To: |
|
Summary: |
Question: The number of markers shown on plot lines do not have any correlation with the value I passed on nMarker argument of the PlotLine or PlotXYLine function. Is nMarker really the number of markers? |
Solution: |
No, nMarker argument of the PlotLine and
PlotXYLine functions does not set the number of markers on plot
lines. It is the number of samples between markers. The number of
markers can be calculated by the following formula:
number of markers = ((length - 1) / nMarker ) + 1 where we assume integer truncation on the result of division, ie, 9 / 2 = 4 , 7 / 3=2. Example: INT FrameWidth=3; The number of markers in the above example will be : ((10 - 1) / 2) + 1 = 5 If the nMarker were 1, then the number of markers would be ((10 - 1) / 1) + 1 = 10, or for nMarker = 3, ((10 -1) / 3) + 1 = 4 |
Keywords: |
Related Links
Attachments