Skip to content
Prev 327530 / 398502 Next

GGplot 2 – cannot get histogram and box plot axis to match.

Dear Thierry,

Thank you for your help. My code now works the way I wanted it to.

To other readers out there, I think the reason why the two functions work differently is because extend_limits only ensures that the axis includes the coordinates supplied, and does not guarantee that limits will be the coordinates you supplied to the function (they might extend further in some graphs like the heatmap)

Thierry, if any of the above is wrong or incomplete, feel free to correct me or add more details.

John Clow
UCSB Student
Message-ID: <53F5FA310C439841A76E397AAFF387151E5B4331@BY2PRD0811MB439.namprd08.prod.outlook.com>
In-Reply-To: <AA818EAD2576BC488B4F623941DA7427CD31947A@inbomail.inbo.be>