Math & Science ⇒ Graphs axis problem
-
- Posts: 1
- Joined: Wed Jul 14, 2010 12:36 pm
Graphs axis problem
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
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Graphs axis problem
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10