Skip to content

Glyphs with a custom data set #2265

Answered by jessdtate
kimjohn1 asked this question in Q&A
Apr 19, 2021 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

There are a few ways to do this. The simplest way may be to save the vectors as a text file, then load that with Readmatrix and use setfielddata to set the vectors onto the pointcloud. ShowFieldGlyphs should work after that.

Another way to save the data to load in the vector field and positions at the same time is to save it in matlab format as a structure. The locations should be set in a field called 'node' or 'pts'. The vectors should be saved in a field called 'field'.

one way to make sure that you have vector data assigned to the field is to use reportfieldinfo, or to click on a pipe and press the 'i' key, or to cmd(crt) click on an output port. Look for a vector for vector data, vs …

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@jessdtate
Comment options

@jessdtate
Comment options

@jessdtate
Comment options

@kimjohn1
Comment options

@kimjohn1
Comment options

Answer selected by kimjohn1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants