Skip to content

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

@podlaskijacek

Description

@podlaskijacek

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions