IMPLOT2 may be used to plot implicit functions of exactly two variables.
It uses a similar approach to IMPLOT (by Arthur Jutan), but extends the capabilities of IMPLOT to allow the specification of one or more lineseries properties: e.g. line width, line color, line style etc. It can also return a matrix containing all plotted datapoints, with contiguous line segments clearly demarcated.
Note that IMPLOT2 obtains isocontours for f(x,y)=0 via a fairly crude approach, viz. using the low-level CONTOURC function. Thus it is not ideal for applications where high levels of accuracy are required.
Vinesh Rajpaul (2021). implot2.m (https://www.mathworks.com/matlabcentral/fileexchange/23548-implot2-m), MATLAB Central File Exchange. Retrieved .
Inspired by: implot.m
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
How to extract the datapoints from the matrix?? Sorry I'm a noob. Please help!
Really a very good job. It helped me a lot, furthermore with the new application returning a matrix with all the datapoints. The only problem I can find is that of giving just 229 datapoints pairs but sometimes it's enough to get enough information of the curve. Very useful!