pydsm.delsig.axisLabels¶
-
pydsm.delsig.
axisLabels
(points, incr)¶ Generate alphanumeric axis labels.
If the parameter incr is an integer, the function returns an array of strings corresponding to the values specified in points, stepping through them with indexes 0, incr, 2*incr, …
If the parameter incr is a couple of integers (start, incr), the stepping occurs with indexes start, start+incr, start+2*incr, …
- Parameters
- pointsarray like of floats
the axis points to label
- incrint or couple of ints
the increment to use in labelling
- Returns
- slist of strings
list of labels
Notes
In the original DELSIG function, the parameter points is named range.
Values in points less than 1e-6 are truncated to zero. This value is hardwired in the function.