contourc patch

Kai Habel kai.habel at gmx.de
Wed Dec 19 15:07:44 CST 2007


Hello,

I propose to include the patch from Alexander and Peter [1]. I have
modified the original patch slightly and did some editorial changes.

With this patch we can plot something like:

[th, r] = meshgrid (linspace (0, 2*pi, 64), 0:.05:0.9);
[X, Y] = pol2cart (th, r);
f = ((X + i*Y).^4 - 1).^(1/4);
contour(X, Y, abs(f), 16)

I have tried this patch with a test script and have seen no regressions
for the normal case.

Kai

ChangeLog:

2007-12-19  Alexander Barth
  * scripts/contourc.m: Allow usage of irregular x,y data

[1]
http://www.cae.wisc.edu/pipermail/octave-maintainers/2007-October/004282.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: contourc.m.patch
Type: text/x-patch
Size: 2192 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20071219/cb2f479d/attachment.bin 


More information about the Octave-maintainers mailing list