plot parametric curves between xy-limits
5 views (last 30 days)
Show older comments
I'm not sure if it's possible at all, but may be somebody knows the answer..
I have two parametric equations:
x=f(t)
y=g(t)
which describe some curve in XY plane. f(t) and g(t) are rational polynomial functions, i.e. the curve is an algebraic curve. The ezplot function of MATLAB allows to plot parametric curves for some values of parameter. Is it somehow possible to plot parametric curves for some values of x and y? Or we can only first find the plotting intervals of t by solving some inequalities, and then plot f(t) and g(t) on these intervals?
One solution could be implicitize the parametric curve (i.e. make it look like h(x,y)=0, thus eliminating t), but it is not easy to do in general case.
What is the best practical solution to my problem? I think that the problem is quite essential, and I'm not the only one who faces it.
4 Comments
José-Luis
on 22 Apr 2014
Edited: José-Luis
on 22 Apr 2014
Which xy plane? x = 3, y = 2? Something else? Note that even then you might get nothing or only a bunch of points in said plane. Or do you want a three-dimensional plot? In that case I recommend you look at plot3().
Or do you want to project everything to a single plane? Then it is just a matter of setting one of your dimensions to a scalar and using plot().
I am sorry but what you want is not clear to me.
Answers (0)
See Also
Categories
Find more on Particle & Nuclear Physics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!