We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created a plot, wanted to create a custom x-axis, so I set xlab to " " and xaxt="n". Found that the text and axis commands no longer drew to my graph!
library("showtext") showtext.opts(dpi = 144) showtext.auto() #Open cairo-png device png(filename = "output.png", type = "cairo-png") # plot basic x/y graph x<-1:10 y<-1:10 plot(x, y, ylab="Y axis",xlab=" ",xaxt = "n") # add text and axis text(x, y, label=y, pos=3) axis(1, at=x, labels=x) # close the device dev.off()
So I changed the plot line of code to be null instead of a space:
plot(x, y, ylab="Y axis",xlab="",xaxt = "n")
And then the axes and text appeared
Am I missing something fundamental or is this a bug?
The text was updated successfully, but these errors were encountered:
This seems to be a genuine bug. I'll try to figure it out.
Sorry, something went wrong.
820bfb3 fixes this issue. I'll prepare a CRAN release soon.
On CRAN now.
No branches or pull requests
Created a plot, wanted to create a custom x-axis, so I set xlab to " " and xaxt="n". Found that the text and axis commands no longer drew to my graph!
So I changed the plot line of code to be null instead of a space:
And then the axes and text appeared
Am I missing something fundamental or is this a bug?
The text was updated successfully, but these errors were encountered: