Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Easy curves in TikZ

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


It is a simple curve which represents an area.

I couldn't find such a question which isn't imaginable

share|improve this question

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.

I'm struggling to imagine a scenario for which such a drawing would be necessary. Also, it doesn't represent an area! Perhaps can be a good start though. – qubyte Dec 27 '11 at 11:40
@MarkS.Everitt: It's part of a picture. The curve represents the border of two areas. – Marco Daniel Dec 27 '11 at 11:42
And look at… – Alain Matthes Dec 27 '11 at 11:46
@Altermundus: Ah! That's a nice catch. Perhaps this question should be closed as a duplicate... – qubyte Dec 27 '11 at 11:51
I voted for closing this question as duplicated. – Marco Daniel Dec 27 '11 at 11:58

1 Answer 1

up vote 14 down vote accepted

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


    \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)};

enter image description here

share|improve this answer
Can I somehow obtain the coordinates of the point at some arbitrary position on the resulting curve? – Dror Apr 11 '14 at 7:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.