Home > Archive > Matlab > June 2007 > values instead of color
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
values instead of color
|
|
| yohann.morille@gmail.com 2007-06-29, 8:13 am |
| Hello
I would like to display a matrix A
with the real values instead of colors
( like with pcolor(A) or image(A) ).
I think I have yet seen this sort of graph
but I can't remember where.
Thank You,
Yohann
| |
|
| I have found a way to turn around:
figure;
pcolor(x,y,A);
for ii=1:length(x)
for jj=1:length(y)
text(x(ii),y(jj),sprintf('%5d',A(ii,jj))
,'fontsize',20)
end
end
bye
Yohann
On Jun 29, 1:57 pm, yohann.mori...@gmail.com wrote:
> Hello
>
> I would like to display a matrix A
> with the real values instead of colors
> ( like with pcolor(A) or image(A) ).
>
> I think I have yet seen this sort of graph
> but I can't remember where.
> Thank You,
>
> Yohann
|
|
|
|
|