From: Mohammad on
Dear reader,

So I have a Molecule with I represented using
patch('vertices', verts, 'faces',fac,'facecolor'[1 0 0])
where verts is a r,3 matrix for x,y,z coordinates, and fac shows the vertices that make up each face.


Is there something other than patch that I can use to make my model, since I want to make my code into a more user friendly rappture GUI which has problems with patch.

Thanks!

Cordially, Mohammad
From: Jan Simon on
Dear Mohammad,

> Is there something other than patch that I can use to make my model, since I want to make my code into a more user friendly rappture GUI which has problems with patch.

If your GUI has problems with PATCH, I assume that this is a problem of the GUI. Patches are best displayed by PATCH - as the name suggests.

You could explain the problems of the GUI, perhaps they can be solved.

Kind regards, Jan
From: Mohammad on
"Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i43l78$p8h$1(a)fred.mathworks.com>...
> Dear Mohammad,
>
> > Is there something other than patch that I can use to make my model, since I want to make my code into a more user friendly rappture GUI which has problems with patch.
>
> If your GUI has problems with PATCH, I assume that this is a problem of the GUI. Patches are best displayed by PATCH - as the name suggests.
>
> You could explain the problems of the GUI, perhaps they can be solved.
>
> Kind regards, Jan

Thanks Jan,

Currently, I'm using a program called rappture which creates an input box describing each variable and offering defaults in which any user would only need to change the inputs and press simulate for the code to be edited and executed, showing the user the result. When I run the code with patch, it says that patch isn't supported.