Skip to content

Faster processing #6

@PUS234

Description

@PUS234

Dear Kelly,

'plotboxpos' works perfect for me.
The problem for me is, it is for my purpose the bottleneck in respect to processing time.
Two of the main time consuming statements are:
temp = axes('Units', 'Pixels', 'Position', pos, 'Visible', 'off', 'parent', hparent);
and
delete(temp);

Both statement use about 60% of the processing time.
Attached you will find a faster Version. It is about 5 times faster in Matlab R2016a and, surprise, 7 times faster in Matlab R2020a.
Changes are only at the end of the code.
May be you want to implement that changes in an updated version.

Best regards from Germany,
Peter

plotboxpos.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions