File Exchange

image thumbnail

implot2.m

version 1.17 (2.72 KB) by

A function to plot implicit functions of two variables.

0 Downloads

Updated

View License

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.

Comments and Ratings (2)

How to extract the datapoints from the matrix?? Sorry I'm a noob. Please help!

L3munoz

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!

Updates

1.17

Now plots lineseries objects instead of contourgroup objects. Can now return handle to plotted lineseries object; also, can return a matrix containing all plotted datapoints, with contiguous line segments clearly demarcated.

1.5

n/a

MATLAB Release
MATLAB 7 (R14)
Acknowledgements

Inspired by: implot.m

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video