Academic Figures
Academic Figures provides the command `afigure` that behaves as `figure` but creates
a readable figure to embed it in a text document. Academic Figures produces figures
with these properties by default (they can be customized):
1. White background instead of gray or operating system defined.
2. Large font size for legend, axis labels, ticks and title.
3. Wider lines when plotting.
4. No blank space around the chart. Thus, the image can be saved to a file without any
margin.
5. Color and gray colormaps that keep the high contrast even when printed as grayscale.
6. Chart box and grid enabled by default.
7. The dimensions and size ratio can be fixed.
8. It nicely fits `plot` and `bar` commands.
Its usage is very simple. Just type `afigure` before any of your `plot` or `bar` commands.
You can check `AcademicFigures_Example` to show a complete example.
You can also call `aplot` or `abar` directly without calling `afigure` first. These
have the same input and output parameters as `plot` and `bar`.
Cite As
Dorian (2024). Academic Figures (https://github.com/dorian3d/AcademicFigures), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
Tags
Acknowledgements
Inspired by: CMRmap.m, AdvancedColormap
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |
|