Code covered by the BSD License  

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

» Watch video

Highlights from
implot2.m

5.0
5.0 | 1 rating Rate this file 7 Downloads (last 30 days) File Size: 2.72 KB File ID: #23548 Version: 1.17
image thumbnail

implot2.m

by

Vinesh Rajpaul (view profile)

 

04 Apr 2009 (Updated )

A function to plot implicit functions of two variables.

| Watch this File

File Information
Description

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.

Acknowledgements

Implot.M inspired this file.

MATLAB release MATLAB 7 (R14)
Other requirements Not tested with versions earlier than MATLAB 7. One might need to tweak some of the cell-array code to make implot2 compatibile with earlier versions of MATLAB.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
11 Apr 2015 Kanishk Bhatia

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

Comment only
20 May 2009 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
16 May 2009 1.5

n/a

20 May 2009 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.

Contact us