Closed eddelbuettel closed 9 months ago
Thanks for the report! I'll take a look.
Reproducible example below. Note that the header isn't clipped if you make the X11 window larger.
library(xts)
data(sample_matrix)
x <- as.xts(sample_matrix)
x11()
layout(matrix(1:2,2,1,byrow=TRUE), heights=c(1,1,1,1))
plot(x[,1], main="Chopped")
plot(x[,1], main="Clipped")
This should be fixed on the 412-plot-header-clipped branch. Please test and let me know if you find any issues. Thanks!
Damn straight -- you are correct on the resize. Had not noticed.
So where did behaviour change? In base R? Not so likely? So was this a side-effect from recent cleanup?
Works like a charm off the designated branch, also with a 3x1 layout:
So was this a side-effect from recent cleanup?
Yeah, I did a significant refactor of all the plot functionality. It was practically necessary in order to get the log y-axis working.
Works like a charm off the designated branch, also with a 3x1 layout
Awesome, thanks for testing that too!
Description
We now see the titles 'chopped off' ie clipped ie parts are outside the visible region. That is new, and a regression.
It does not seem to appear on a single plot but when combined via
layout()
it clearly is an issue.I have a recurrent cronjob plotting (several pages of) three plot a page to pdf where I noticed it first. It is more prevalent for n=3.
Expected behavior
No clipping, ie see the full text.
Minimal, reproducible example
Session Info