From: zac on
Hello,

i would like to make plot3d from my matrix.
The x and y are positions and the elements of matrix are heights:
I would like to present results as a bar charts like example below.

http://yfrog.com/86rysunek1jj

Thanks for any advice.
Regards,
ZacAdi
From: Sean on
"zac " <sony_1000(a)o2.pl> wrote in message <i1nn8k$5dv$1(a)fred.mathworks.com>...
> Hello,
>
> i would like to make plot3d from my matrix.
> The x and y are positions and the elements of matrix are heights:
> I would like to present results as a bar charts like example below.
>
> http://yfrog.com/86rysunek1jj
>
> Thanks for any advice.
> Regards,
> ZacAdi

a hint:
>>help bar3
From: zac on
"Sean " <sean.dewolski(a)nospamplease.umit.maine.edu> wrote in message <i1no75$7nb$1(a)fred.mathworks.com>...
> "zac " <sony_1000(a)o2.pl> wrote in message <i1nn8k$5dv$1(a)fred.mathworks.com>...
> > Hello,
> >
> > i would like to make plot3d from my matrix.
> > The x and y are positions and the elements of matrix are heights:
> > I would like to present results as a bar charts like example below.
> >
> > http://yfrog.com/86rysunek1jj
> >
> > Thanks for any advice.
> > Regards,
> > ZacAdi
>
> a hint:
> >>help bar3

Thanks a lot! That was very helpfull.

But i have enother question.
For example i have a matrix with 3 values in it (for example matrix have only "1", "5" and "10".
The command bar3 make 3 box in the plot. But the colours are very strange.
How can i make that that three values have three colour - for example every "1" make to red, "5" to green and "10" to "blue"?

Regards,
ZaC