I want to make the following graph in R:
How can I plot those horizontal braces?
On English keyboards, the open bracket and close bracket are on the same key as the [ and ] (square bracket) keys, located near the Enter key. To get a curly bracket, press and hold the Shift key, then press the { or } key.
Brackets, [ or ], are used to indicate that an endpoint value is included, called inclusive.
How about something like this?
plot(c(0,1), c(0,1)) text(x = 0.5, y = 0.5, '{', srt = 90, cex = 8, family = 'Helvetica Neue UltraLight')
Adapt it to your purposes. You might find a lighter weight font or a shape you like better. There are hairline fonts if you do a search online.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With