Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yyaxis function in 3-D view in plotDistToNearestToTip.m #56

Open
podlaskijacek opened this issue Mar 18, 2022 · 0 comments
Open

yyaxis function in 3-D view in plotDistToNearestToTip.m #56

podlaskijacek opened this issue Mar 18, 2022 · 0 comments

Comments

@podlaskijacek
Copy link

podlaskijacek commented Mar 18, 2022

Hi,
I've frequently encountered an error while using Display_Probe_Track.m. It's often the case that not all probes (up to 6, so below 11) are displayed in Brain View due to this error:

Error using yyaxis
3-D views are not supported with yyaxis. Change the view to 2-D with view(2).

Error in plotDistToNearestToTip (line 224)
yyaxis left

Error in Display_Probe_Track (line 225)
borders_table = plotDistToNearestToTip(m, p, av_plot, st, probe_length_histo, error_length, active_site_start, distance_past_tip_to_plot, show_parent_category, show_region_table, plane); % plots confidence score based on distance to nearest region along probe

I've looked at plotDistToNearestToTip.m and indeed it features the yyaxis function used twice, although MATLAB does not support plotting multiple axes in 3-D view. When "yyaxis left" and "yyaxis right" are deleted, then all probes are loaded correctly, but that completely messes up the 3-D Brain View.

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant