Skip to content

Commit

Permalink
Merge pull request #419 from massimoaria/develop
Browse files Browse the repository at this point in the history
Solved issue in plot function
  • Loading branch information
massimoaria authored Feb 13, 2024
2 parents 2f2c03b + 5963f25 commit bc5a38c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/plot.bibliometrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ plot.bibliometrix<-function(x, ...){
row.names(Table2)=Table2$Year}

xcoord <- c(max(Table2$Year)-0.02-diff(range(Table2$Year))*0.15, max(Table2$Year)-0.02)+1
Table2$MeanTCperYear[is.nan(Table2$MeanTCperYear)] <- 0
ycoord <- c(min(Table2$MeanTCperYear),min(Table2$MeanTCperYear)+diff(range(Table2$MeanTCperYear))*0.15)

g=ggplot(Table2, aes(x = .data$Year, y = .data$MeanTCperYear)) +
Expand Down

0 comments on commit bc5a38c

Please sign in to comment.