Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

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
 
PREVIOUS NEXT
Tagged: #automatically #wrap #text #label #ggplot
ADD COMMENT
Topic
Name
4+1 =