[Scilab-users] question to surf()
Heinz Nabielek
heinznabielek at me.com
Tue Jan 4 12:22:44 CET 2022
SurfPlot is no problem here.
Scilab Version: 6.1.1.988271013
macOS Catalina Version 10.15.7
Heinz
> On 04.01.2022, at 09:29, P M <p.muehlmann at gmail.com> wrote:
>
> width = 900;
> height = 1500;
>
>
>
> x = linspace(1,width,width)
> y = linspace(1,height, height);
>
>
>
> for i = 1:width
>
>
> for j = 1:height
>
>
> z(i,j) = x(i)+y(j)
>
>
> end
> end
>
>
>
> //// normalization if necessary
> //zMin = min(z);
> //z = z - zMin;
> //zMax = max(z);
> //z = z .* 255 ./ zMax;
>
>
>
> f = figure();
> f.background = 256;
> f.color_map = hotcolormap(256);
> surf(x,y,z');
> e = gce();
> e.thickness = 0
> printf("Reached end of code\n");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20220104/d541c833/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 51979 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20220104/d541c833/attachment.png>
More information about the users
mailing list