You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made several plots and each has a label using annotate_figure. However, I noticed that if my labels are of varying length, the position of the text will translate to the right. This makes the alignment of my figure captions differ between my images.
For example, adjusting some code from the documentation:
Solution was provided from a related post. However, I am not sure if the annotate_figure function allows for this particular solution to work. Directly working with cowplot may be easier. Perhaps allowing additional parameters to be passed to p <- cowplot::ggdraw(p) + do.call(cowplot::draw_figure_label, lab.args) from annotate_figure would be a solution.
I have made several plots and each has a label using
annotate_figure
. However, I noticed that if my labels are of varying length, the position of the text will translate to the right. This makes the alignment of my figure captions differ between my images.For example, adjusting some code from the documentation:
a. Short Label
b. Long Label
The text was updated successfully, but these errors were encountered: