# Wrong Plot of datas?

**URL:** <https://scilab.discourse.group/t/wrong-plot-of-datas/931>\
**Category:** Data handling\
**Created:** [April 30, 2025, 5:44am UTC](https://scilab.discourse.group/t/wrong-plot-of-datas/931 "2025-04-30T05:44:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [April 30, 2025, 5:44am UTC](https://scilab.discourse.group/t/wrong-plot-of-datas/931/1 "2025-04-30T05:44:49Z")

</div>

Hi Scilab team

 ![image](https://global.discourse-cdn.com/free1/uploads/utc/original/1X/5b6676bfe205cf08c2853fa62c0d789d3995053d.png)  
i have a timeseries with every two second a ping made which gives 1ms back  
as i plot this timeseries with stacked plot, i get this:  
 ![image](https://global.discourse-cdn.com/free1/uploads/utc/original/1X/0e240f2a63a40cc7ec3b12dae6d23977dc61a591.png)  
from where are coming those peaks?

---

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [April 30, 2025, 6:12am UTC](https://scilab.discourse.group/t/wrong-plot-of-datas/931/2 "2025-04-30T06:12:57Z")

</div>

Sorry false alert, i found them there are some peaks in the data set. But how to i manage that the left scale starts with 0 not with the lowest number?

---

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [April 30, 2025, 6:27am UTC](https://scilab.discourse.group/t/wrong-plot-of-datas/931/3 "2025-04-30T06:27:13Z")

</div>

a.children(1).data\_bounds=[2000,0;20000000,9];  
a.children(2).data\_bounds=[2000,0;20000000,9];  
a.children(3).data\_bounds=[2000,0;20000000,9];  
this works only on the first graphic bzw on the last graphic in the image

 ![image](https://global.discourse-cdn.com/free1/uploads/utc/original/1X/7644d35b812c7bc4617f7a1f563f3a4208cb7ed9.png)

---

<div class="post-metadata">

**Author:** ![pascal](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/pascal/32/40_2.png) [@pascal](https://scilab.discourse.group/u/pascal)\
**Post date:** [April 30, 2025, 6:30am UTC](https://scilab.discourse.group/t/wrong-plot-of-datas/931/4 "2025-04-30T06:30:15Z")

</div>

Stackedplot doesn’t work with subplot.
