Chthonic Project
Chthonic Project

Reputation: 8336

In R, how to make axis label start closer to the origin (NOT closer to the axis itself)?

I have a barplot where the y-axis label is "Fisher Information Metric". The problem is that this label extends beyond the top end of the y-axis. I want to make the label start from close to the origin (y=0), but can't seem to find anything to do this. Standard tutorials and blogs are full of omd, omi, par, etc. ... but nothing to make the label "slide" closer to the (0,0) point.

Upvotes: 0

Views: 350

Answers (1)

IRTFM
IRTFM

Reputation: 263301

(I agree that it can be difficult to figure out which par parameter to use. I first looked at ?par, then at ?axis, then at ?title and back again to ?par.) Try this:

 barplot ( .... , adj=0.1)

Upvotes: 1

Related Questions