# 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
0answers
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. ...
0answers
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 ...
1answer
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&...
2answers
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 ...
2answers
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} ...
1answer
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 ...
2answers
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 ...
1answer
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{...
2answers
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{...
1answer
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. (...
0answers
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 ...
2answers
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)...
0answers
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-...
0answers
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 ...
1answer
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 ...
1answer
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 ...
2answers
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} \...
1answer
1k views

### How to mark a point at a precise coordinate on a curved line in Tikz

I want to place two points on a trajectory, drawn as a curved line. I have manage to draw my curved line using controls. So i have this image : with the following code : \begin{tikzpicture} \draw (...
1answer
138 views

### Defining bezier control points in relatively defined line rather than coordinates

Found it hard to write the title, I hope it makes sense. We can define control points in bezier curves with \draw (0,0) .. controls (0.5,0.5) .. (0,1); and we can define a drawn line differently ...