help-octave
[Top][All Lists]
Advanced

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

Colormaps


From: Juan Pablo Carbajal
Subject: Colormaps
Date: Mon, 17 Feb 2014 14:00:05 +0100

Hi,

Runnig this code

colormap(jet(3))
N=3;
image (1:N, linspace (0, 1, N), repmat ((1:N)', 1, N));

I expected to see this

colormap(jet(64)([1 32 end],:))
N=3;
image (1:N, linspace (0, 1, N), repmat ((1:N)', 1, N));

But I do not get it.

Was my expectation correct?
What is the Matlab's output for 1st snippet?


reply via email to

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