1

How can we draw a concave curve like the following one without having any numeric data?

enter image description here

2
  • 4
    \draw (0,2) to[out=0,in=90] (3,0);
    – percusse
    Jun 24, 2013 at 12:31
  • Looks like a quarter of an ellipse to me. Try something like: \draw (0,0) arc [start angle=0, end angle=90, x radius=1cm, y radius=5mm];
    – Count Zero
    Jun 24, 2013 at 12:35

1 Answer 1

3

In my opinion, drawing without numerical data might be impossible.

Without PSTricks:

\documentclass[tikz,border=12pt]{standalone}
\begin{document}
\begin{tikzpicture}
    \draw (2,0) arc [x radius=2, y radius=1, start angle=0, end angle=90];% or the old, deprecated, less verbose version \draw (2,0) arc (0:90:2 and 1);
    \draw (-.1,0) -- (2.1,0);
    \draw (0,-.1) -- (0,1.1);
\end{tikzpicture}
\end{document}

enter image description here

With PSTricks:

\documentclass[pstricks,border=12pt]{standalone}
\begin{document}
\begin{pspicture}(-.1,-.1)(2.1,1.1)
    \psellipticarc(0,0)(2,1){0}{90}
    \psline(-.1,0)(2.1,0)
    \psline(0,-.1)(0,1.1)
\end{pspicture}
\end{document}

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .