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.
Well, I could make it by using the command
at = x
and describing the distance from 0 to the end of the axis, either by your desired scale, counts or length (I just have no clue whether the length is in inches, cm, etc. I tried numbers until I got the right lenght). Hope it helps!One thing I did not manage was to input breaks to the axis 2, so I had to type the whole scale. As I have lots of plots which differs in scales, this will become boring at some stage. Any idea how to break scales using "axis" command?
Cheers, Romário
PS: Couldn't post the final plot. I need at least 10 reputation to post images.
See
?axis
and use it along withplot()
. Here is a nice tutorial.You mean list this?