Skip to content

Specifying axes #19

@vindelico

Description

@vindelico

Hello bastibe,

very nice implementation of very useful plots! Thank you!

When making MANY plots I like to pass the axes to plotting functions, like plot(ax,__), boxplot(ax,__), scatter(ax,__); sometimes text(__, 'Parent', ax) is required.
This prevents messing up plots when you click on a finished one on your screen while a loop is still running. The figure/axes you clicked will get the focus and then gcf/gca will point and plot to the wrong figure/axes.

I tried to find where to add a specific axes in the Violin class, passed over to the constructor from violinplots but I couldn't quit figure out how to do it in the varargs parsing. So I guess this makes my comment kind of a feature idea. ;-)

Cheers,
Marco

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