Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add braces to a graph?

Tags:

I want to make the following graph in R:

enter image description here

How can I plot those horizontal braces?

like image 655
Leo Avatar asked May 30 '11 16:05

Leo


People also ask

How do you put curly brackets in?

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.

What do brackets mean in math on a graph?

Brackets, [ or ], are used to indicate that an endpoint value is included, called inclusive.


1 Answers

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') 

plot

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.

like image 71
John Avatar answered Oct 23 '22 18:10

John