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

How to implement a two-column chart #99

Closed
233thzhang opened this issue Jun 11, 2023 · 1 comment
Closed

How to implement a two-column chart #99

233thzhang opened this issue Jun 11, 2023 · 1 comment

Comments

@233thzhang
Copy link

image
I would like to know if scienceplots can achieve this effect.

@echedey-ls
Copy link
Collaborator

The 2x2 plot grid pretty easy to look for in the Internet.
https://matplotlib.org/stable/tutorials/intermediate/arranging_axes.html#sphx-glr-tutorials-intermediate-arranging-axes-py

For the styles, I think you can't apply a style for each one, but with axes.plot you can set the color of the line. If you want to automate setting the colours, you should use a color cycler. You can browse current styles to get inspired.

Just make use of the science style since it already has the small and big ticks.

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