Dear all,
I have a problem with the numbering of the axis i am using Miktex 2.8 and Tikz and pgfplot and i dont know how to scale the x axis to be {0,2,4,...,20} and y axis {500,1000,....,3500}
i tried \begin{axis}[xmin=2, xmax=20, ymin=500,ymax=3500,
and i tried also
xtick={2, 4, 6, 8, 10, 12, 14, 16, 18, 20},
and they are not working...so anyone know what should i do ??
Thank you so much,
Caroline Sabty
Math & Science ⇒ Graphs axis problem
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Graphs axis problem
In my tests I couldn't comprehend the problem. Please show by a minimal example what is going wrong with your code.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10