help-octave
[Top][All Lists]
Advanced

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

superimposing a heatmap on an image


From: Francesco Potortì
Subject: superimposing a heatmap on an image
Date: Thu, 28 Apr 2016 18:37:00 +0200

I know how to plot over an image: I can superimpose lines and graphical
objects on a background.

This time I need to superimpose a heatmap (for example one obtained with
imagesc from a data matrix) transparently over a background image.

After some tricks, I managed to obtain what I want:  I did it
by taking the background image, then taking my data matrix, converting
it to RGB using a colormap and merging it with the background image.

But I obtain an image, not the same thing as imagesc does.  The axes are
not what I want, and I can not plot over it using the right coordinates.

Is there a way to call imagesc on the background image, hold on, then
imagesc again?

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it




reply via email to

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