Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: plotrix
Version: 3.8-7
Version: 3.8-8
Title: Various Plotting Functions
Authors@R: c(
person("Jim", "Lemon", role = "aut"),
Expand Down
4 changes: 3 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Changes in version 3.8-7 (2025-11-12)
Changes in version 3.8-8 (2025-11-12)

- Fixed warnings in `gap.plot()` when there were 2 gaps.

- Fixed `pie3D()` which skipped very small slices (issue #9).

Changes in version 3.8-6 (2023-11-13)

Expand Down
2 changes: 1 addition & 1 deletion R/pie3D.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ draw.tilted.sector<-function(x=0,y=0,edges=NA,radius=1,height=0.1,
theta=pi/6,start=0,end=pi*2,border=par("fg"),col=par("bg"),explode=0,
shade=0.8) {

if(is.na(edges)) edges<-trunc(20*(end-start))
if(is.na(edges)) edges<-max(1, trunc(20*(end-start)))
angleinc<-(end-start)/edges
angles<-c(seq(start,end,by=angleinc),end)
viscurve<-(angles>=pi)&(angles<=2*pi)
Expand Down