Graphics, Figures & Tables ⇒ Increasing the decimal digits
-
- Posts: 30
- Joined: Fri Nov 23, 2007 12:56 am
Increasing the decimal digits
I have a simple question which I could not solve.
If I have numbers along the Y-axis using pgfplots. Say these numbers are
1.1,1.2,1.3,... How can I make them as follows 1.10,1.20,1.30?
Thanks in advance
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 30
- Joined: Fri Nov 23, 2007 12:56 am
Re: Increasing the decimal digits
Is there something that is not clear and you need me to clarify?
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Increasing the decimal digits
Code: Select all
\begin{axis}[
yticklabel style={%
/pgf/number format/.cd,
fixed,
fixed zerofill,
precision=2,
}
]
...
-
- Posts: 30
- Joined: Fri Nov 23, 2007 12:56 am