# How to draw a curve in tikz? [duplicate]

Possible Duplicate:
Easy curves in TikZ

I want to draw an equivalent of the following pstricks picture with tikz.

\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-plot}
\begin{document}
\begin{pspicture}
\psaxes[ticks=none,labels=none]{->}(0,0)(-2,-2)(2,2)
\pscurve(1,1)(1.4,0.5)(0.4,-0.2)(0.6,-0.2)(0.2,-1.4)
(-0.5,-1.1)(-1,-1.6)(-1.4,0.4)
\end{pspicture}
\end{document}


It is a simple curve which represents an area. I couldn't find such a question which isn't imaginable

## marked as duplicate by Marco Daniel, Joseph Wright♦Dec 29 '11 at 13:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

## 1 Answer

Not quite the same, but you may get close if you play around with the tension.

\documentclass{article}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
\draw[->] (-2,0) -- (2,0);
\draw[->] (0,-2) -- (0,2);
\draw[thick] plot [smooth,tension=1.5] coordinates{(1,1) (1.4,0.5) (0.4,-0.2) (0.6,-0.2) (0.2,-1.4) (-0.5,-1.1) (-1,-1.6) (-1.4,0.4)};
\end{tikzpicture}
\end{document} • Can I somehow obtain the coordinates of the point at some arbitrary position on the resulting curve? – Dror Apr 11 '14 at 7:52