octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help with surfnorm compatibility


From: Julien Bect
Subject: Re: Help with surfnorm compatibility
Date: Sun, 20 Jul 2014 21:15:18 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Le 20/07/2014 21:01, Rik a écrit :
I'm trying to see whether Matlab uses colororder or the existing colormap to determine the color for the normal vectors in surfnorm. Could someone run the following code in Matlab and return the two images.

clf;
colormap ('hsv');
[x,y,z] = cylinder (1:10);
surfnorm (x,y,z);
print -dpng hsv.png
colormap ('jet');
print -dpng jet.png

Here they are (Matlab R2012a / Ubuntu 13.04 32 bits).

Attachment: jet.png
Description: PNG image

Attachment: hsv.png
Description: PNG image


reply via email to

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