[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tricontour
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Tricontour |
Date: |
Fri, 24 Feb 2017 12:51:04 +0900 (JST) |
----- Original Message -----
> From: Tatsuro MATSUOKA
> To: Clinton Winant ; help
> Cc:
> Date: 2017/2/24, Fri 12:02
> Subject: Re: Tricontour
>
>
> ----- Original Message -----
>> From: Clinton Winant
>> To: Octave Help
>> Date: 2017/2/24, Fri 09:43
>> Subject: Tricontour
>>
>>
>> There used to be a script tricontour.m that was part of a package called
> inst. It seems inst is no more. Does anyone know where to find tricontour?
>>
>
>
> tricontour is part of plot octave-forge package, which is un-maintained.
>
>
> Source of plot package can be found here
> https://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/
>
>
> latest seem to be plot-1.1.0.tar.gz.
>
The plot package is un-maintained so that
it is not preferable to try to install plot package.
However, tricontour.m is standalone script and I confirmed that it worked.rand
('state', 2)
I used demonstration example here.
https://octave.sourceforge.io/plot/function/tricontour.html
x = rand (100, 1)-0.5;
y = rand (100, 1)-0.5;
z= (x.*y);
tri = delaunay (x, y);
tricontour (tri, x, y, z, [-0.25:0.05:0.25]);
axis equal
grid on
So workaround is download plot-1.1.0.tar.gz and extract it.
Copy tricontour.m and paste it to your working directory.
BTW, tricontour.m can be implemented as a core function.
Tatsuro