AnsweredAssumed Answered

vrf matlab pcolor

Question asked by rsb on Oct 21, 2003
Latest reply on Oct 21, 2003 by rsb
Richard Kleinhenz <scubaman@us.ibm.com> wrote:
>
>
>
>
> I think I have a conceptual problem with matlab (scatter) plots.  Can
> anyone tell me what I am missing?  I supply the same real64 vector to x, y
> and z inputs but matlab complains that the 'matrix dimensions must agree'.
> Ghosh, how much better agreement than the same input can I get?  Same
> problem with surf or similar plots, btw.  I'll attach a short meaningless
> example demonstrating the error, and a jpg of what I want eventually.

Umm- you appear to be using "pcolor" which is not a scatterplot and
doesn't have x,y,z inputs. Check Matlab docs- I believe that you want
to input either a 3D array - pcolor(c) - or 2 vectors and a 2D array
- pcolor(x,y,c). This makes sense since pcolor() creates pseudo-color
plot so would need 2D array for the colors if you separately specify
x and Y.

Did you perhaps intend using a different Matlab function?

Stan


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes