octave-maintainers
[Top][All Lists]
Advanced

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

Default colormap


From: Rik
Subject: Default colormap
Date: Sun, 1 Nov 2015 17:30:35 -0800

On 11/01/2015 03:57 PM, address@hidden wrote:
Subject:
default colormap
From:
Carlo De Falco <address@hidden>
Date:
11/01/2015 03:57 PM
To:
octave maintainers mailing list <address@hidden>
List-Post:
<mailto:address@hidden>
Content-Transfer-Encoding:
quoted-printable
Precedence:
list
MIME-Version:
1.0
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset="us-ascii"
Message:
4

Hi all,

The purpose of this changeset: http://hg.savannah.gnu.org/hgweb/octave/rev/17e507df10e3
was to change the default colormap for the 4.2 release.

This unfortunately seems to not have worked as you can easily check by the following simple
test in te current development branch:

[x, y] = meshgrid ( linspace (0, 1, 8));
z = x .* y;
surf (x, y, z);

and then

colormap ('default')

I think the issue is with the re-implementation of jet in graphics.cc:

http://hg.savannah.gnu.org/hgweb/octave/file/77b104cad58e/libinterp/corefcn/graphics.cc#l136

do I just need to change the function jet_colormap in order to fix the issue?
Carlo,

Change the jet_colormap function and then change the call in graphics.in.h to the new colormap name.

--Rik

reply via email to

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