On 2011年03月20日 19:42, Kai Habel wrote:
On 18.03.2011 11:26, welkin zzp wrote:
Hello,

I think that there may be some wrong in the contour function which is in the plot toolbox, as the contour it's show doesn't be uniform with the data.
The following image show the wrong result of a two cells image.

------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
_______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev
Since contour is a core octave version, can you please post a complete bug report [1] that we can reproduce the error (in a first step). What is your octave version?

Kai

[1] https://savannah.gnu.org/bugs/?group=octave


Hi,

 I have experiment the contour function again yesterday, and if the code as following is wrong, always rise many level lines.

    the code(the u matrix is u matrix):
                    figure, contour(u, [0 0]).

However, If I modify the code as following , the result is good.
    the modified code:
                    [nrow ncol] = size(u);
                    figure, contour(1:ncol, 1:row, u, [0 0])

As description by the manual, it should be same whatever the x and y be transfered to contour function, that's why ?

zzpwelkin


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to