XYSetMarkerFrequenceΒΆ

XYSetMarkerFrequence sets the marker frequency.

bool = XYSetMarkerFrequence(hData, nFreq)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hData

The handle of a dataset created with XYCreate or TYCreate.

nFreq

If nFreq = 1, all data points will be marked. For a value of 2 only every second data point will be marked. For a value of 3 every third data point will be marked, and so on.

If nFreq is greater than 1e6, the difference between nFreq and 1e6 is the number of markers which will be spread evenly over the visible range in the diagram. The datase must be monoton incresing. Example: The value 1000020 will display 20 markers.

History

Version Description
R2014.3 Parameter nFreq modified. Spread marker evenly.

id-447355