Answers for "automatically wrap r text label ggplot"

R
1

automatically wrap r text label ggplot

g +
 	scale_x_discrete(labels = scales::wrap_format(10)) 
   	# where scale_x_discrete is your scale of choice
    # where 10 == the number of characters you'd like to wrap before
Posted by: Guest on January-14-2021

Browse Popular Code Answers by Language