R interface: loop.angle degrees not radians

Bug #517685 reported by Keith Ponting
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
igraph
Fix Released
Low
Unassigned

Bug Description

According to igraph.plotting man page, loop.angle is an angle in radians, but the code in plot.R appears to expect degrees - using angle/180*pi and similar. Supplying degrees to loop.angle achieves the desired effect.

Changed in igraph:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Fixed in revision #1573 (0.5-main) and #1762 (0.6-main). Parameter is interpreted in radian now.

Actually, since R graphical parameters are given in degrees (AFAIK), it would be better to have everything in degrees (label.degree, etc.).

Changed in igraph:
status: Confirmed → Fix Released
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/267

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.