How do I specify axis thickness in a plot? (in R)

I am using using plot(), matplot() and ggplot(). I am guessing the answer will be the same for all of them.

I want to specify the thickness of the y-axis, the x-axis, and the other two lines that constitute the box around the plot, all separately. How can I achieve that?

Thanks in advance.

Note: I have already read this - Increasing the thickness of box lines in an R boxplot? , but I want to change the thickness of the individual axis lines separately.

Answers


You mean list this?

plot(sample(100))

axis(side = 1, lwd = 2)
axis(side = 2, lwd = 2)


Need Your Help

How to get active tab index from TabContainer

javascript asp.net ajax tabcontainer

Currently I am using this line of code in my JavaScript

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.