how to add xlabel and ylabel to basic plot after call in r?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



how to add xlabel and ylabel to basic plot after call in r?



The code below produces a plot with the axis labels "x" and "y" overprinted by "___i" and "___j".



Is there any way to tell plot not to include the axis labels?



Passing in nulls for the axis labels to plot does not work.



R version 3.5.0 (2018-04-23) Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 8.1 x64 (build 9600)


x<-runif(100,0,1)
print(x)
y<-x^2
plot(x,y)
title("Main Title",sub="sub title",xlab="___i",ylab="___j")









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS