Creating a blank plot with a border in r -


i trying create empty plot has green border. creating green box, know how make plot blank having trouble creating box around plot.

p2 <- plot(0,type='n', axes=false, ann=false, lty='solid', col='green') print(p2) 

you can create empty plot using

plot(0, type = 'n', axes = false, ann = false) 

and draw box using function box:

box(col = "green") 

Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -