This is a continuation of a question that was asked and 'answered' here:
The suggested answers all involved using LaTeX's built-in font controls to adjust using, e.g. \tiny
, \footnotesize
, and so forth. Rather than using these inflexible commands, is there a way to use TikZ's scaling option? For instance, I'd like to do scale=0.5
and automatically cut the axis label to 50% as large.
The scale option gives a convenient way of scaling text within a tikzpicture
environment. Is there a way to easily extend this to axis labels as well?
Best Answer
Directly scaling a font is not always the best alternative since either the font might turn out to be "too thick" if scaling up by a large factor, or "too thin", if scaling down; the font switches are the right way to change font sizes. That being said, as percusse mentioned in
his comment
, you can use thescale=<factor>
option instead offont
in the same style used in the linked answer:A complete example: