From: Sven Schoeberichts on
Hello all,

I am trying to make a box using the patch-function. All examples have things like:
x = [0 0;0 1;1 1];
y = [1 1;2 2;2 1];
z = [1 1;1 1;1 1];

These are coordinates, if I am correct. But how do I interpret these values. Do I read them from the top down, or left to right? And what do the semicolons mean?

It's nowhere explained clearly, please help, I have searched the site and google :(

Gr. Sven
From: Rune Allnor on
On 2 Mar, 14:39, "Sven Schoeberichts" <s...(a)wires.nl> wrote:
> Hello all,
>
> I am trying to make a box using the patch-function. All examples have things like:
> x = [0 0;0 1;1 1];
> y = [1 1;2 2;2 1];
> z = [1 1;1 1;1 1];
>
> These are coordinates, if I am correct. But how do I interpret these values. Do I read them from the top down, or left to right? And what do the semicolons mean?
>
> It's nowhere explained clearly, please help, I have searched the site and google :(

Read the "Getting Started" part of the matlab documentation.

Rune
 | 
Pages: 1
Prev: hold on in a handle?
Next: griddata