Are you ready to talk?

Plotting Parametric Curves

Table of contents
Inputs and outputs of the function plotParametricCurve

Figure 1. Inputs and outputs of the function plotParametricCurve

An example will help to understand how this function works:

1.    Go to the command window and enter the following vectors:

s = 0 : 0.1 : 10;
x = {cos(t)*exp(-0.1*t) for t in s};
y = {sin(t)*exp(-0.1*t) for t in s};

2.    Call the function as follows:

plotParametricCurve(x, y, s, labelWithS = true);

3.    A plot window will pop with the curve shown in figure. 2. Note that the values of the parameter s are marked from 1 to 10. Actually, if the user scrolls the mouse on the curve, the values for parameter (s), x and y will be shown:

Plot window of a parametric curve

Figure 2. Plot window of a parametric curve

 

Need to talk to an expert?

Our engineering teams are on hand to provide tailored guidance and support with a deep knowledge of the full Dassault Systèmes portfolio.

Want to receive more content like this?

Sign up to receive a weekly roundup of Expert insights as they are published...

  • Related news & articles straight to your inbox
  • Hints, tips & how-tos
  • Thought leadership articles