Questions tagged [bezier]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
76 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&...
2
votes
2answers
96 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 ...
1
vote
2answers
92 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} ...
5
votes
1answer
131 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 ...
6
votes
2answers
300 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 ...
1
vote
1answer
52 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{...
1
vote
2answers
99 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{...
1
vote
1answer
172 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. (...
3
votes
0answers
124 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 ...
4
votes
2answers
756 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)...
1
vote
0answers
177 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-...
1
vote
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 ...
2
votes
1answer
94 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 ...
3
votes
1answer
443 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 ...
2
votes
2answers
227 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} \...
2
votes
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 (...
2
votes
1answer
132 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 ...