Graphics, Figures & Tablesdrawing a parabola

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
napostolou0
Posts: 2
Joined: Fri Oct 03, 2014 1:32 pm

drawing a parabola

Post by napostolou0 »

Hello everybody. I want to draw a parabola and latex has the following command:
parabola[options]{arrows}(x0,y0)(x1,y1). What should i do?

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

drawing a parabola

Post by Johannes_B »

Hi and welcome to our little community.

Can you give any information where this command is coming from and what you are trying to do?

Code: Select all

% arara: xelatex
\documentclass{article}
\usepackage{pst-plot}
\usepackage{tikz}
\begin{document}
\begin{pspicture}(-4,-4)(4,4)
	\psparabola(2,4)(0,0)
\end{pspicture}
\begin{tikzpicture}
	  \draw (0,0) parabola (1.5,2.25) ;
	  \draw (0,0) parabola (-1.5,2.25) ;
\end{tikzpicture}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
napostolou0
Posts: 2
Joined: Fri Oct 03, 2014 1:32 pm

Re: drawing a parabola

Post by napostolou0 »

You have already helped a lot! Thank you!
Post Reply