Back to the main page.
Bug 238 - ft_plot_mesh should support plotting of colors that are dependent on the data
Status | CLOSED FIXED |
Reported | 2010-11-25 18:08:00 +0100 |
Modified | 2010-11-30 11:43:43 +0100 |
Product: | FieldTrip |
Component: | plotting |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P1 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2010-11-25 18:08:46 +0100
If I do for example [pnt, tri] = icosahedron162; bnd.pnt = pnt; bnd.tri = tri; ft_plot_mesh(bnd, 'facecolor', pnt(:,3)) it should use facecolor and plot a sphere that goes from blue at the bottom to red at the top. The values in pnt(:,3), i.e. the height in this example, should be assigned to the vertices and used for visualising e.g. the spatial distribution of the values over the mesh (think of a cortical mesh with source reconstructed power).
Robert Oostenveld - 2010-11-25 21:12:14 +0100
if already implemented, then it should also be documented...