edzer / trajectories

Handling and analyzing trajectory and movement data
31 stars 15 forks source link

explicit args for plot revised #4

Closed mpadge closed 10 years ago

mpadge commented 10 years ago

library (trajectories) example (Track) plot (Tr, Arrows=T, length=0.1) # or other formals(arrows), "angle" or "code"

Warning messages: 1: In plot.window(xlim = xlim, ylim = ylim, asp = asp, ...) : "length" is not a graphical parameter 2: In axis(side, at = at, labels = labels, ...) : "length" is not a graphical parameter 3: In axis(side, at = at, labels = labels, ...) : "length" is not a graphical parameter

Warnings removed by passing all arguments through another dummy function ("aplot") with formals (arrows) specified to strip them from (...), so subsequent passing to plot no longer prompts warnings.