Jump to content

Recommended Posts

FVG objects construct a matlab patch object for the actual image that is presented on screen. Each face of the patch object represents the cells of the model, and the corners of these faces represent the vertices.

The handle to this patch object is stored as a property of the fvg objects, which allow us to customize various aspects of the visualisation.

Just a few of the options for this:

If you want to apply a slight transparency to the entire mesh equally, you can edit the patch object's facealpha property.

sheet1 = fvgsheet(fobj, modfil)

patchhandle = sheet1.PatchObj;

set( patchhandle , 'FaceAlpha', 0.5)

This sets all the faces of the patch to be 50% transparent.


Be careful when setting these patch properties as some of them will be updated by moving the slider bar, and all your hard work will be erased.

for more info on patches and their properties, see MathWorks documentation on patches.





Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...