octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

contourc patch


From: John W. Eaton
Subject: contourc patch
Date: Wed, 19 Dec 2007 16:38:55 -0500

On 19-Dec-2007, Kai Habel wrote:

| 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

I applied this patch and checked it in.  I also added your example
above as a demo in both contour and contourf.

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]