Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
5 votes
4 answers
3k views

pgfplots: How can I customize number formatting styles for log plots based on the numbers?

We have seen in another question how to set the tick numbers on logarithmic axes in a sans serif font when the style is for 10^x numbering. Pgfplots offers additional options for numbering log ticks, ...
John's user avatar
  • 2,400
3 votes
1 answer
257 views

How to remove mantissa on semilogarithmic pgfplots graph (while retaining modifications for sans serif tick font)

Semilogarithmic plots normally mark major ticks with powers of 10 and no mantissa or separator, e.g., 10^3, 10^4,..., rather than 1.10^3, 1.10^4, etc. Pgfplots provides this capability through ...
John's user avatar
  • 2,400
4 votes
1 answer
1k views

pgfplots changing font of data labels to sans-serif / MyriadPro

I am making bar charts using pgfplots and I would like to change the font of the "data labels" to a sans-serif font (preferably Myriad Pro), but I'm having no luck. I am compiling with XeLaTeX I've ...
pdanese's user avatar
  • 365
4 votes
2 answers
630 views

Using Separate Serif and SansSerif Fonts in a Document

I have a bunch of figures that I am compiling using the standalone class in which I load two font packages mathpazo for the serif fonts and cabin for the sans serif fonts. The problem is that when I ...
Kyle Jones's user avatar
8 votes
2 answers
1k views

pgfplots - How to get the y axis in sans serif

I made a coordinate system with pgfplots. Now I want the font to be in sans serif, so I tried the command \sffamily after document start (just like in the example). With this everything is in sans ...
simande's user avatar
  • 1,022
12 votes
2 answers
2k views

Using sans font for tick labels in pgfplots

I am using a sans font for my figures. Hence I also want the tick labels of the pgfplots to be in sans. The tick labels, however, are set in a math enviroment. So changing the text font does not ...
quinmars's user avatar
  • 5,577
1 vote
0 answers
60 views

Should labels in tikz / pgfplots / etc. have serifs? [duplicate]

By default, diagrams in tikz and pgfplots inherit the style of the surrounding document, which is a good thing. However, I've read that serifs are good for large bodies of printed text (the main text ...
gerrit's user avatar
  • 5,175