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

colorbar tiled layout location #1098

Open
jamesascham opened this issue Jun 18, 2021 · 1 comment
Open

colorbar tiled layout location #1098

jamesascham opened this issue Jun 18, 2021 · 1 comment

Comments

@jamesascham
Copy link

When using,
hcb.Layout.Tile = 'east';

I receive the error

Error using matlab2tikz>getColorbarPosOptions (line 5105)
getColorbarOptions: Unknown 'Location' layout.

Error in matlab2tikz>getColorbarOptions (line 4927)
    [cbarTemplate, cbarStyleOptions] = getColorbarPosOptions(handle, ...

Error in matlab2tikz>handleColorbar (line 1490)
                                    getColorbarOptions(m2t, handle));

Error in matlab2tikz>saveToFile (line 490)
        m2t = handleColorbar(m2t, cbar);

Error in matlab2tikz (line 337)
    m2t = saveToFile(m2t, fid, fileWasOpen);
@jamesascham
Copy link
Author

jamesascham commented Jun 18, 2021

in
function [cbarTemplate, cbarStyleOptions] = getColorbarPosOptions(handle, cbarStyleOptions)
changing
case manual
to
case {manual,layout}

seems to be a quick workaround, but colormap and tick labels are still broken

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