Bug 7084 - text(x, y, labels) - recycling problems #78
Labels
Graphics
Issues related to graphics
LatinR 2024
needs patch
Implement the agreed fix and prepare a patch for review
R
Issue should require knowledge of R only
Currently
text()
recycles coordinate pairs when there are more labels than points to plot them at. For example:results in
where "D" is plotted on top of "A" because four labels have been provided (A, B, C, D) but only 3 points ((1, 2), (2, 3), and (1, 4) - the x coordinates are recycled to match the length of y).
This task is to modify
text()
to drop extra labels with a warning as proposed at the end of Bug 7084.The text was updated successfully, but these errors were encountered: