From: Andy on 28 Jun 2010 13:49 Hi, I'm pretty new with matlab plotting and need some help plotting my data. I have a three dimensional matrix with values which I'd like to correspond to color (lower=bluer, higher=redder). Is this possible? I have been trying with the mesh and surface plots but I have too many variables. Thanks for your help!
From: us on 28 Jun 2010 13:59 "Andy " <dcg48(a)cornell.edu> wrote in message <i0anb7$rrc$1(a)fred.mathworks.com>... > Hi, > I'm pretty new with matlab plotting and need some help plotting my data. I have a three dimensional matrix with values which I'd like to correspond to color (lower=bluer, higher=redder). Is this possible? I have been trying with the mesh and surface plots but I have too many variables. > Thanks for your help! a hint: - give the sparse information... help scatter3; % otherwise, show a small example in ML language... us
From: Andy on 28 Jun 2010 14:12 My matrix is 32x32x64 and in matlab form is viewed in 64 instances of rows of 32 and columns of 32. Is this what you mean by giving the sparse information? I'm sorry for my confusion, Thanks! "us " <us(a)neurol.unizh.ch> wrote in message <i0antb$660$1(a)fred.mathworks.com>... > "Andy " <dcg48(a)cornell.edu> wrote in message <i0anb7$rrc$1(a)fred.mathworks.com>... > > Hi, > > I'm pretty new with matlab plotting and need some help plotting my data. I have a three dimensional matrix with values which I'd like to correspond to color (lower=bluer, higher=redder). Is this possible? I have been trying with the mesh and surface plots but I have too many variables. > > Thanks for your help! > > a hint: > - give the sparse information... > > help scatter3; > % otherwise, show a small example in ML language... > > us
From: us on 28 Jun 2010 14:22 "Andy " <dcg48(a)cornell.edu> wrote in message <i0aolk$qqt$1(a)fred.mathworks.com>... > My matrix is 32x32x64 and in matlab form is viewed in 64 instances of rows of 32 and columns of 32. Is this what you mean by giving the sparse information? > I'm sorry for my confusion, Thanks! > > - give the sparse information... firstly, this should have read - giveN the sparse information... sorry for the typo... now, produce a SMALL example of your 3D mat, eg, [2,3,2], and show how your plot should look like based on this data... us
From: Andy on 28 Jun 2010 17:06 us, A sample of the data set would be as follows: z=1: 1 5 115 40 -12 14 z=2: 67 -45 98 12 42 -32 Which I would like to be plotted as a constant volume of dimensions 2x3x2 with the colors of each 1x1x1 cube coordinated such that the higher the number, the more red, and the lower the number, the more blue, the cube would appear. Is this what you meant? Thanks
|
Pages: 1 Prev: Compound Return Next: AM demodulator (usin envelope detector) |