# plot: scalings properly

**URL:** <https://mne.discourse.group/t/plot-scalings-properly/4724>\
**Category:** Support & Discussions\
**Tags:** visualization\
**Created:** [April 18, 2022, 8:02am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724 "2022-04-18T08:02:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhD-GOAT](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/phd-goat/32/1326_2.png) [@PhD-GOAT](https://mne.discourse.group/u/PhD-GOAT)\
**Post date:** [April 18, 2022, 8:02am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/1 "2022-04-18T08:02:21Z")

</div>

- MNE version: 1.0.1
- operating system: Windows 10

`scalings=dict(eeg=1e-4, resp=1e3, eog=1e-4, emg=1e-7, misc=1e-1))`

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/e/e4218b1989fa4999ee9cee9c6f326767b6617d2f.png)

I want to scaling signals to a similar size like the picture above. I wonder how to change the number.

`raw.plot(scalings=dict(eeg=4e2,ecg=1e-10))`

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/9/97baf43f99c39946f46a8e11ea7ed129b4e79188.png)

---

<div class="post-metadata">

**Author:** ![mscheltienne](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/mscheltienne/32/827_2.png) [@mscheltienne](https://mne.discourse.group/u/mscheltienne)\
**Post date:** [April 18, 2022, 7:34pm UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/3 "2022-04-18T19:34:29Z")

</div>

I don’t really understand your question. Those are not even the same channels or channel types.  
The `scalings` dictionary, as mentioned in the docstring, lets you provide one scaling for each channel type.

If you lower the number, you zoom-in.  
If you increase the number, you zoom-out.

In the data browser, you can use the +/- key to zoom in/out interactively.

---

<div class="post-metadata">

**Author:** ![PhD-GOAT](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/phd-goat/32/1326_2.png) [@PhD-GOAT](https://mne.discourse.group/u/PhD-GOAT)\
**Post date:** [April 19, 2022, 12:27am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/4 "2022-04-19T00:27:35Z")

</div>

I want to adjust the size so that I can see everything with my eyes on the printed screen. I’m not just zooming in on that part of the window.

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [April 19, 2022, 5:08am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/5 "2022-04-19T05:08:41Z")

</div>

But why do you pass this absurdly small scaling parameter for ECG? It’s the reason why the ECG trace is flat.

---

<div class="post-metadata">

**Author:** ![PhD-GOAT](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/phd-goat/32/1326_2.png) [@PhD-GOAT](https://mne.discourse.group/u/PhD-GOAT)\
**Post date:** [April 19, 2022, 5:23am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/6 "2022-04-19T05:23:10Z")

</div>

I thought there might be an artifact as well as that. What I wanted to know was if I could observe x, y, and z better at same scale.

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [April 19, 2022, 5:40am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/7 "2022-04-19T05:40:36Z")

</div>

I’m sorry, so what is your question, then? I’m confused. 😵‍💫

---

<div class="post-metadata">

**Author:** ![PhD-GOAT](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/phd-goat/32/1326_2.png) [@PhD-GOAT](https://mne.discourse.group/u/PhD-GOAT)\
**Post date:** [April 19, 2022, 5:43am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/8 "2022-04-19T05:43:45Z")

</div>

Simply put, I want to make the event (epoch) for x, y, and z clear and large on the printed screen to make it a size that can be distinguished.

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [April 19, 2022, 6:49am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/9 "2022-04-19T06:49:47Z")

</div>

I’m still not entirely sure what you mean by that, it’s probably an issue of nomenclature. When you’re saying “epoch”, you’re not referring to epoched data, yes? And when you say “event”, you’re not referring to a single (instantaneous) trigger pulse?

So I’ll just assume you’re looking at continuous (“raw”) data and want to ensure that whichever time segment of the data you’re looking at, will be scaled by a meaningful factor?

I don’t think MNE currently supports that, unfortunately. All scaling is always applied to the entirety of time. Your best bet is probably to pass `scalings='auto'`, which will ensure that 99.5% of data (across _all time points_, for each channel separately) are visible. However, this can still mean that there are significantly long time periods where the scaling isn’t helpful…

---

<div class="post-metadata">

**Author:** ![PhD-GOAT](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/phd-goat/32/1326_2.png) [@PhD-GOAT](https://mne.discourse.group/u/PhD-GOAT)\
**Post date:** [April 19, 2022, 7:03am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/10 "2022-04-19T07:03:35Z")

</div>

thank you

but “auto” command jumps the values.

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [April 19, 2022, 7:39am UTC](https://mne.discourse.group/t/plot-scalings-properly/4724/11 "2022-04-19T07:39:22Z")

</div>

Cool, so this is what you want, right?
