|
On Oct 21, 8:27 pm, "Judy " <sauwen...@gmail.com> wrote:
> Does anyone know why this command pops up an empty new figure?
>
> C=colormap(jet(128));
>
> I want to turn this useless pop up off but I don't know how!
> I'm working with MATLAB R14 SP1 btw.
>
> Any ideas are much appreciated. Thanks!
----------------------------------------------------------------------
Because you have no active figure showing yet. Consider the
following:
monochromeImage = imread('cell.tif');
imshow(monochromeImage);
C=colormap(jet(128));
No empty figure shows up. But if I didn't have the first two lines in
there, then there would be an empty figure created. If you don't want
that, then don't call colormap.
Let me ask you: why are you calling colormap if you have no figure
showing that you can apply it to?
|