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

Stacked subplots, more than 2 yaxis #96

Closed
stephancb opened this issue Nov 21, 2016 · 4 comments
Closed

Stacked subplots, more than 2 yaxis #96

stephancb opened this issue Nov 21, 2016 · 4 comments

Comments

@stephancb
Copy link

The third "yaxis3" is not added to the layout?:

julia> bigfont3=Layout(font_size=22, yaxis=attr(domain=[0, 0.33]), legend=attr(traceorder="reversed"), yaxis2=attr(domain=[0.33, 0.66], yaxis3=attr(domain=[0.67, 1])))
layout with fields font, legend, margin, yaxis, and yaxis2

and the resulting plot is correspondingly not as intended, the third axis covering all space.

Thanks,
Stephan

@stephancb
Copy link
Author

Sorry, was just an error with the brackets.

@sglyon
Copy link
Member

sglyon commented Nov 21, 2016

No problem, I'm glad you were able to figure it out!

I also want to point out that there is a more convenient notation for making regular grids of subplots (see the docs here).

@stephancb
Copy link
Author

Thanks. My subplots share the same x axis, I need relatively large fonts for the axis tick- and textlabels, and cannot afford to waste space by repeating the x axis incl. labels at each subplot. Therefore I had not used the convenient notation.

@sglyon
Copy link
Member

sglyon commented Nov 21, 2016

No problem -- sounds like you have a good handle on it!

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

2 participants