# How can I generate a plot with two curves, legend, overshoot, peak time, and 5% settling time in Scilab/Xcos?

**URL:** <https://scilab.discourse.group/t/how-can-i-generate-a-plot-with-two-curves-legend-overshoot-peak-time-and-5-settling-time-in-scilab-xcos/1219>\
**Category:** General usage\
**Created:** [September 30, 2026, 6:06am UTC](https://scilab.discourse.group/t/how-can-i-generate-a-plot-with-two-curves-legend-overshoot-peak-time-and-5-settling-time-in-scilab-xcos/1219 "2026-09-30T06:06:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HELLO](https://avatars.discourse-cdn.com/v4/letter/h/7993a0/32.png) [@HELLO](https://scilab.discourse.group/u/HELLO)\
**Post date:** [September 30, 2026, 6:06am UTC](https://scilab.discourse.group/t/how-can-i-generate-a-plot-with-two-curves-legend-overshoot-peak-time-and-5-settling-time-in-scilab-xcos/1219/1 "2026-09-30T06:06:42Z")

</div>

Hello,

I would like to generate a plot in **Scilab/Xcos** , using the **SCOPE block** , similar to the attached example, with **two curves and a legend** , and automatically display the **overshoot D1** , **peak time t1** , and **5% settling time t5%** directly on the graph.

Is there a **built-in Scilab/Xcos function or CPGE tool** that allows this with SCOPE? If so, could you please indicate how to use it?

Thank you for your help.

 ![Plot](https://global.discourse-cdn.com/free1/uploads/utc/original/2X/2/20e688623a1496b6de40dfd508aade59cf5ff582.png)
