Questions tagged [bezier]

{bezier} A Bézier curve is a type of polynomial curve, which has great application in computer graphics.

19 questions
Filter by
Sorted by
Tagged with
41 views

Extract coordinates from an EPS file to TikZ

Apologies in advance if the question is off topic. I believe it is proper of TeX and LaTeX Stack Exchange, as it is about TikZ, after all, but if I am mistaken, please redirect me to the proper forum. ...
33 views

How to find maximum of bezier curve

Is there an easy way to find the maximum of a bezier curve/path? My intention is to draw a vertical line where the curve has its maximum. I did it "by hand" and it does the job, but I'd ...
104 views

Plotting a curve using “plot function” Vs Bezier curve (Method of tangents)

Regarding the shown MWE, I need to plot a parabola with the following properties: Parabola starts at point "A" Parabola ends at point "B" Peak of the parabola is at point "F&...
97 views

Replicate a curve

I'm to trying to adapt the code here to replicate the following image. While I can do the axis and the labeling I cannot produce the curve. I do not understand what exactly the code does. Could ...
214 views

Label on an arrow in tikz

This question is a follow-up for my badly accepted Bézier curves for arrows in tikz I have come up with the following. The Bézier-curve arrow works, but my label doesn't: \documentclass{article} ...
170 views

Bezier curve for a loop

I would like to enhance the output given by the following code : see the picture below where the end of the arrow is lower and the loop "bigger". To do this I need a better control of the Bezier ...
524 views

Looseness for Bezier controls. Or how to bend in circularly symmetric tikz-drawings (without bend left, etc.)

If I want to draw a something with circular symmetry, e.g joining pair of points by arcs as shown in the picture with only two, I face the problem of not being able to use the edge bending. This is ...
58 views

Problem in Bézier curves with pgfplots for relative negative coordinates

I attempted to plot some Bézier curves in a pgfplots graph. This works well when the coordinates are positive. See: \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{...
116 views

Shift control points from Bezier curves

Is it possible to add an offset to the control points of the bezier curves to make my red line to pass through the center of the point cloud? Here is my mwe: \documentclass{article} \usepackage{...
212 views

Curve drawing in TIKZ - evenly spaced points

I have a certain number of points, using which I want to draw a spline/bezier curve "through" the points. When the curve is drawn, I want to automagically put along the curve p equally spaced points. (...
148 views

Control Points affect the size of Tikzpicture

I have created the following graph using TikZ. As you can see, the area of the tikzpicture is unnecessarily large. I believe that this is due to the inclusion of the invisible control points in the ...
973 views

How are quadratic Bezier curves drawn by TikZ?

I'm trying to understand how exactly Bezier curves are drawn by TikZ. According to wikipedia, the parametrization of a quadratic Bezier curve is given by B(t) = (1 - t) ((1 - t) P0 + t P1) + t ((1 - t)...
193 views

tikz bounding box of a cubic Bézier curve [duplicate]

This document \documentclass[DIV=16]{scrartcl} \usepackage{tikz} \pagestyle{empty} \begin{document} \hrule \begin{center} \begin{tikzpicture}[scale=.3] \draw[domain=-1:5] plot (\x,{0.5*\x*\x*(\x-...
56 views

Maximum degree of curves with exact rendering?

Are cubic curves (cubic Bézier curves to be more exact) the maximum degree that one can output without conversion to straight lines? I was looking at the documentation for the pst-func package and ...
95 views

Empty areas in figure and optimal curve fitting

I need to create a logo (well, a part of it) as an outline. The relevant part in MetaPost looks: beginfig(1) path ellipse; ellipse = fullcircle xscaled 5in yscaled 1in; for k = 0 step 45 until ...
476 views

Drawing ticks/arrows along a Bezier curve in PStricks

Along the lines of this question, I would like to know if there is a way to automate tick drawing along a curve generated by psbezier in PSTricks (and potentially pspolygon and more complex curves ...
245 views

Shift bezier curve as a whole in tikz

Is there an easy way to shift a bezier curve as a whole, e.g. 2cm in x-direction,1 cm in y-direction without changing the control points? \documentclass[11pt]{standalone} \usepackage{tikz} \...