Questions tagged [parametric-equations]

A parametric equation is a mathematical definition of a set of values defined by a function of one or several parameters. They are frequently used for defining curves by using a parametrized function defining the coordinates of the curve's points.

A parametric equation is a mathematical definition of a set of values defined by a function of one or several parameters. They are frequently used for defining curves by using a parametrized function defining the coordinates of the curve's points.

External reference:

101 questions
3
votes
1 answer

plotting matrix equation in R

I'm new to R and I need to plot the quadratic matrix equation: x^T A x + b^T x + c = 0 in R^2, with A being a 2x2, b a 2x1, and c a constant. The equation is for a boundary that defines classes of points. I need to plot that boundary for x0 =…
Stephen
  • 2,365
  • 17
  • 21
3
votes
2 answers

plotting a parametric curve using an ordered data set in matlab

This is an elementary question, which I hope has an easier solution that the one I have: I have an Nx2 data A set which is a parametric curve in the 2D plane. The set A is ordered, it is the solution of a differential equation. How do I plot…
db1234
  • 797
  • 2
  • 11
  • 28
3
votes
2 answers

Detecting intersecting lines after a hough transform

Using Hough transform in Matlab,detected some lines. Using the end points of these lines I have plotted them. I cant understand how I can find intersecting lines when I have all the variables. Line7 Point1 [50,66] Point2 [11,106] theta,rho…
user349026
2
votes
1 answer

How do i draw an accurate parametric eq curve given gain, freq, and q?

After a lot of googling I still can't find an equation to give me the path I need. I am creating a gui for a parametric eq and just can't get the curve drawing to look or feel accurate. Although I know most eq plugins are just eye candy giving a…
Jon Rose
  • 1,457
  • 1
  • 15
  • 25
2
votes
1 answer

How do I plot a cycloid parametrically?

I'm in a beginning python class and I'm supposed to plot this cycloid using subplots. I was given the cycloid in parametric form and told to leave it in that form. Here are the equations I was given: x = r (θ − sin θ ) y = r (1 − cos θ ) r is…
starrie
  • 23
  • 3
2
votes
1 answer

sympy's plot_parametric says TypeError: can't convert complex to float

I want to plot a curve which is actually has a S shape: draw a circle move the down part of half circle a whole diameter distance but the code says TypeError: can't convert complex to float. Where is the complex number? how to fix it?…
oyster
  • 537
  • 3
  • 15
2
votes
3 answers

iteration and parametric mode with t ranging according to a function - gnuplot

I'm trying to iterate in parametric mode to plot several concentric arcs of circles with the parameter t ranging according to a function. I've tried, among others, a=sqrt(2) plot [-pi/2:pi/2] a*cos(t), a*sin(t) do for [i=2:10] { a=sqrt(2)/i set…
the_eraser
  • 381
  • 1
  • 3
  • 14
2
votes
1 answer

R: rgl package's writePLY function not writing Vertex Colors correctly

This is a fun exercise which uses the rgl package to draw a 3D parametric apple, and write the resulting mesh to a file. The object shows the colors correctly in the "RGL Device" window (see screenshot below). However, when I try opening the…
Jose R
  • 930
  • 1
  • 11
  • 22
2
votes
1 answer

gnuplot parameter varying along a curve

I have a set of data, corresponding to N points of a parametric curve, defined by x(t),y(t),t. I would like to plot the curve in the x,y plane, putting a label with t value beside each point. I must use label command on each point or it is possible…
2
votes
1 answer

Grapher - What is wrong with my Rbx.Lua Script?

I have a script for the Roblox version of Lua. Roblox's syntax checking system says that there is nothing wrong with my script. The script is supposed to create a graph of a circle using 'Parts' or 'Bricks'. Below is the wiki page I got the graph…
Rontron
  • 3,963
  • 7
  • 26
  • 44
2
votes
1 answer

Matplotlib parametric surface plot unexpected results, why?

I am trying to plot an ellipsoid so, I thought I would amend the example code for a sphere from the matplotlib 3D plotting page. from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt from matplotlib import cm import numpy as…
DrBwts
  • 3,470
  • 6
  • 38
  • 62
2
votes
2 answers

Get equation for 3d shape

I have 2 arrays say X and Y. Each have 5 elements. Now for each possible combination of (X,Y) I have a Z value, so Z is a 5x5 matrix. I am looking to find a formula e.g. z=f(x,y). Any idea about how that can be done. I tried MS Excel surface…
Amit Sharma
  • 131
  • 1
  • 2
  • 12
2
votes
0 answers

Parametric Hypercube

Looking to describe in 4-dimensional hypercube. I have located this parametric equation via wiki: I am failing to translate this into something useful for me. I have attempted to define is functions of x, y, z, and w. So far I am here: let a =…
1
vote
1 answer

3D parametric graph in Gnuplot

Currently, I'm trying to create a 3d parametric graph similar to this: which can be found here: http://gnuplot.sourceforge.net/demo/surface1.html. With script here: http://gnuplot.sourceforge.net/demo/surface1.17.gnu My graph looks like this:…
eunhealee
  • 189
  • 2
  • 4
  • 13
1
vote
0 answers

Parametric equation in pygame doesn't behave like expected

Inputting parametric equations as a path for an object in Pygame results in different behaviour than expected. I'm trying something out for a small game in writing in Python. I wanted to try having a sprite move in the shape of butterfly curve.…