Math & ScienceGraphs axis problem

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
caroline sabty
Posts: 1
Joined: Wed Jul 14, 2010 12:36 pm

Graphs axis problem

Post by caroline sabty »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Graphs axis problem

Post by localghost »

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
Post Reply