3k views

### Why (\x)^2 and \x^2 produce different results in Tikz plot? [duplicate]

(\x)^2 will plot correct parabola, while \x^2 will have negative x branch upside down. Why () are required for this formula to work? \documentclass[10pt]{article} \usepackage[utf8]{inputenc} \...
737 views

### Why does tikz not plot this even function correctly? [duplicate]

Can someone provide an explanation and a fix for the fact that my plot is not what is expected? The function is symmetric with respect to the y-axis. The plot correctly shows the function for positive ...
409 views

### Incorrect evaluation of expression? [duplicate]

Possible Duplicate: How can I work around this TikZ bug? I am plotting points on function f(x)=1-x^2/2+x^4/16. Obviously f(x)=-f(x), but PGF does not think so. \documentclass{minimal} \...
187 views

### How does TikZ parse powers? [duplicate]

I was often stumbling upon (and correcting by hand) an IMHO rather surprising behavior of TikZ: powers are parsed in an unconventional way. Look at the MWE \documentclass[tikz,border=3.14mm]{...
25 views

### draw plot \x^2, sign error [duplicate]

I try to plot quadratic fonction. \documentclass{article} \usepackage{tikz} \begin{document} bad, negative square equal...negative! \begin{tikzpicture} \draw plot (\x,\x^2/4/1.0); \end{tikzpicture} ...
12k views

### How can I avoid the “Dimension too large” error when plotting in newer PGF versions?

After using a new version (2.10) of PGF, certain parts of my old TikZ code stopped functioning properly. For instance, the plot for a power function: \documentclass{minimal} \usepackage{tikz} \begin{...
891 views

### Reversing a path in TikZ

When I use \path plot function {x^2}; in tikz, it plots it left-to-right (the default domain is -5:5). This is annoying, because, for example, one cannot pile on -- plot function {x^2 + 1} -- cycle; ...
851 views

### Fill area in tikzpicture

Can somebody help? The fill area is not symmetric. The goal is to be symmetric. \documentclass[10pt]{article} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \pagestyle{empty} \begin{document} \...
2k views

### Plots in TikZ don't work

I want to do some plots using TikZ, however the following code doesn't work: \documentclass{minimal} \usepackage{amsmath} \usepackage{pgf,tikz}% \begin{document} \begin{tikzpicture} \draw[->...
845 views

### Using pgfplots with a0poster

I want to use tikz/pgf to plot some graphs in a poster done with a0poster. That is the code: \begin{tikzpicture} \begin{axis}[xlabel=lambda, ylabel=int] \addplot[blue] table [mark=none, col sep=...
67 views

### draw an upside down parabolla

I would like to draw the following figure (rotated 180 degrees--I do not know why it came out upside down) using TikZ: It seems that this should be easy, and I have tried playing with ARC function ...
104 views

### pgfplots Producing Incorrect Plot

Why is this not working properly: \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[xmin = 0,xmax= 1,ylabel = $C_A/C_A^*$,xlabel=$z$] ...
95 views

### TikZ, slope fields, slight glitch, horizontal tangents

I've cobbled together some code I've found to draw slope fields for my class. It does the job rather well, except for the following DE, and others, specifically, in this case: the resultant output ...