# qMRMLPlotView embedded in UI

**URL:** <https://discourse.slicer.org/t/qmrmlplotview-embedded-in-ui/7538>\
**Category:** Development\
**Created:** [July 11, 2019, 6:43pm UTC](https://discourse.slicer.org/t/qmrmlplotview-embedded-in-ui/7538 "2019-07-11T18:43:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![holmesrb](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/holmesrb/32/1825_2.png) [@holmesrb](https://discourse.slicer.org/u/holmesrb)\
**Post date:** [July 11, 2019, 6:43pm UTC](https://discourse.slicer.org/t/qmrmlplotview-embedded-in-ui/7538/1 "2019-07-11T18:43:54Z")

</div>

Hi

I would like to have a plot displayed on a module user interface rather than within the main layout. The code examples add a vtkMRMLPlotChartNode and then switch to a layout that contains a plot view.

I have tried creating a UI with qMRMLPlotWidget but cannot connect to it.

Any help greatly appreciated.

Many thanks

Robin

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 5, 2022, 9:47pm UTC](https://discourse.slicer.org/t/qmrmlplotview-embedded-in-ui/7538/2 "2022-05-05T21:47:43Z")

</div>

A post was split to a new topic: [Show ECG curve plot](https://discourse.slicer.org/t/show-ecg-curve-plot/23291)
