I'm trying to represent a the intersection of two fuzzy sets as a 3d mesh in MatLab.

Here are my sets of vectors:

```
x = [0.3 0.5 0.7]
y = [0.5 0.7 0.1]

```

Followed by these statements:

```
[u,v] = meshgrid(x,y)
w = min(u,v)
mesh(u,v,w)

```

The `x` and `y` ticks seem to be all over the place and do not correlate to the actual index number of each vector i.e. `1 to 3`, and the graph should represent the shape of a small triangle/T-norm.

At the moment it looks like this:

![Graph](https://i.stack.imgur.com/PxwTc.jpg)

Here is an example out of my book I'm following:

![fuzzy sets](https://i.stack.imgur.com/aC49G.png)

Ignore what looks like fractions, they are delimiters. Here is the resulting graph:

![fuzzy intersection](https://i.stack.imgur.com/tlNpQ.png)