# decrease the increment of my plot

**URL:** <https://mne.discourse.group/t/decrease-the-increment-of-my-plot/8026>\
**Category:** Support & Discussions\
**Tags:** visualization\
**Created:** [December 17, 2023, 4:05am UTC](https://mne.discourse.group/t/decrease-the-increment-of-my-plot/8026 "2023-12-17T04:05:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mukoedo1993](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/mukoedo1993/32/3293_2.png) [@mukoedo1993](https://mne.discourse.group/u/mukoedo1993)\
**Post date:** [December 17, 2023, 4:05am UTC](https://mne.discourse.group/t/decrease-the-increment-of-my-plot/8026/1 "2023-12-17T04:05:53Z")

</div>

- MNE version: e.g. 1.6.0
- operating system: Ubuntu 22.04

```python
import mne

import matplotlib.pyplot as plt

from sklearn.metrics import *

# Part 2:

# Load and plot the EDF file

edf_file_path = './S034R01.edf'

raw = mne.io.read_raw_edf(edf_file_path, preload=True)

fig = mne.viz.plot_raw(raw,duration = 45)

fig.savefig('./S034R01.edf.png')

```

Hello. I used the python code above. It generates an image, but its x-axis’s increment is 10, how could I decrease it to 1?  
Thanks.
