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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
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