Thread Subject: TRISURF not working

Subject: TRISURF not working

From: Qwuasi Moore

Date: 23 Feb, 2011 14:11:20

Message: 1 of 3

Dear All,
I've been trying to plot solution for my problem using TRISURF all to no avail.
I also know Trisurf is for {N x 3},so i tried QUADMESH (from the downloads) and still
doesn't work.

These are my data:
ELEM = [1 2 5 6
                3 4 7 8
                9 10 13 14
               11 12 15 16 ];
CORD = [ -1 0 0 1 -1 0 0 1 -1 0 0 1 -1 0 0 1;
                  -1 -1 -1 -1 0 0 0 0 0 0 0 0 1 1 1 1] ' ;
U = 0.0012*ones(16,1) ;

Subject: TRISURF not working

From: Qwuasi Moore

Date: 24 Feb, 2011 10:35:21

Message: 2 of 3

"Qwuasi Moore" wrote in message <ik34i8$51d$1@fred.mathworks.com>...
> Dear All,
> I've been trying to plot solution for my problem using TRISURF all to no avail.
> I also know Trisurf is for {N x 3},so i tried QUADMESH (from the downloads) and still
> doesn't work.
>
> These are my data:
> ELEM = [1 2 5 6
> 3 4 7 8
> 9 10 13 14
> 11 12 15 16 ];
> CORD = [ -1 0 0 1 -1 0 0 1 -1 0 0 1 -1 0 0 1;
> -1 -1 -1 -1 0 0 0 0 0 0 0 0 1 1 1 1] ' ;
> U = 0.0012*ones(16,1) ;

any assist...

Subject: TRISURF not working

From: John D'Errico

Date: 24 Feb, 2011 10:55:09

Message: 3 of 3

"Qwuasi Moore" wrote in message <ik34i8$51d$1@fred.mathworks.com>...
> Dear All,
> I've been trying to plot solution for my problem using TRISURF all to no avail.
> I also know Trisurf is for {N x 3},so i tried QUADMESH (from the downloads) and still
> doesn't work.
>
> These are my data:
> ELEM = [1 2 5 6
> 3 4 7 8
> 9 10 13 14
> 11 12 15 16 ];
> CORD = [ -1 0 0 1 -1 0 0 1 -1 0 0 1 -1 0 0 1;
> -1 -1 -1 -1 0 0 0 0 0 0 0 0 1 1 1 1] ' ;
> U = 0.0012*ones(16,1) ;

So, why should trisurf work on a quadrilateral mesh,
or a hexagonal mesh, or on anything other than a
triangular mesh? The tri in the name should be a major
hint here.

You say that you tried quadmesh (whatever that does)
but what did you try? Is quadmesh supposed to build
a mesh or plot it too?

You CAN use patch to plot this mesh. Did you try that?

John

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
trisurf Qwuasi Moore 23 Feb, 2011 09:14:22
quadmesh Qwuasi Moore 23 Feb, 2011 09:14:22
fem Qwuasi Moore 23 Feb, 2011 09:14:22
solution Qwuasi Moore 23 Feb, 2011 09:14:22
rssFeed for this Thread

Contact us at files@mathworks.com