garrettj403 / garrettj403/SciencePlots

New style for USENIX and ACM

Open
#129 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
Python
Stars
9.2k
Forks
821
PR merge metrics
No merged PRs in 30d

Description

Are you interested in adding styles for conferences such as USENIX and ACM? I have created those styles and can push.
For example:

```
# Matplotlib style for IEEE plots
# This style should work for most two-column journals

# Set color cycle
# Set line style as well for black and white graphs
axes.prop_cycle : (cycler('color', ['k', 'r', 'b', 'g']) + cycler('ls', ['-', '--', ':', '-.']))

# Set default figure size
figure.figsize : 3.49, 2.15
figure.dpi : 600

# Font sizes
axes.labelsize: 7
xtick.labelsize: 7
ytick.labelsize: 7
legend.fontsize: 7
font.size: 7

# Font Family
font.family: sans-serif
font.sans-serif: Arial, Helvetica, Lucida Grande, Verdana, Geneva, Lucid, Avant Garde, sans-serif

# Set line widths
axes.linewidth : 0.5
grid.linewidth : 0.5
lines.linewidth : 1.
lines.markersize: 3

# Always save as 'tight'
savefig.bbox : tight
savefig.pad_inches : 0.01 # Use virtually all space when we specify figure dimensions

text.usetex : False

```
![fig01-usenix](https://github.com/user-attachments/assets/39b2edbb-eaae-4779-80a3-afdbeea691f6)

Note the figure size is made as big as possible and following the golden ratio. Example output:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.