Back to the main page.
Bug 1511 - make test scripts for plotting functions
Status |
ASSIGNED |
Reported |
2012-06-08 14:23:00 +0200 |
Modified |
2012-06-08 14:23:37 +0200 |
Product: |
FieldTrip |
Component: |
plotting |
Version: |
unspecified |
Hardware: |
PC |
Operating System: |
Windows |
Importance: |
P3 normal |
Assigned to: |
Eelke Spaak |
URL: |
|
Tags: |
|
Depends on: |
|
Blocks: |
|
See also: |
|
Eelke Spaak - 2012-06-08 14:23:23 +0200
(In bug 1457, Robert wrote:)
I have added the following to plotting/README
manzana> svn commit README
Sending README
Transmitting file data .
Committed revision 5792.
-------
The following functions are used for displaying data in 2-D
ft_plot_box.m
ft_plot_lay.m
ft_plot_line.m
ft_plot_text.m
ft_plot_topo.m
ft_plot_vector.m
ft_plot_matrix.m
ft_plot_montage.m
ft_plot_ortho.m (can also be used for 3-D display)
ft_plot_slice.m (can also be used for 3-D display)
The following functions are used for displaying data in 3-D
ft_plot_dipole.m
ft_plot_headshape.m
ft_plot_topo3d.m
ft_plot_vol.m
ft_plot_mesh.m
ft_plot_sens.m
The following functions are used for graphical user interaction
ft_uilayout.m
ft_select_box.m
ft_select_channel.m
ft_select_circle.m
ft_select_contour.m
ft_select_point.m
ft_select_point3d.m
ft_select_range.m
ft_select_voxel.m
-------
The bug relates to the consistency of the 2D functions. I now notice that the
ft_plot_lay function also plots boxes and text without using the corresponding
functions but using local code instead. Probably that is more efficient. It
should be checked that the 2D locations are identical. I suggest to make a test
script that takes a template layout and passes it (with random potential data)
through the following functions:
ft_plot_box.m
ft_plot_lay.m
ft_plot_line.m
ft_plot_text.m
ft_plot_topo.m
ft_plot_vector.m
ft_plot_matrix.m
ft_plot_montage.m
All graphical outputs should be nicely aligned.