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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- 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