# Yet another graphics interface for freefem, "datascope"

**URL:** https://community.freefem.org/t/yet-another-graphics-interface-for-freefem-datascope/2665
**Category:** General Discussion
**Created:** [August 25, 2023, 11:00pm UTC](https://community.freefem.org/t/yet-another-graphics-interface-for-freefem-datascope/2665 "2023-08-25T23:00:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![marchywka](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@marchywka](https://community.freefem.org/u/marchywka)
#### Post date: [August 25, 2023, 11:00pm UTC](https://community.freefem.org/t/yet-another-graphics-interface-for-freefem-datascope/2665/1 "2023-08-25T23:00:22Z")

</div>

This may not look too impressive but I was amazed how easy it was to create  
the plugin in the attached zip file. This is similar to the ffglut or medit stuff  
except the graphics program is freestanding and can work with other stuff.  
Its not really usable but I am using it while working 1D FD models.  
Right now it supports linux fifo and udp connections to varying degrees.  
I hate writing graphics code and this was an asbolute last resort but  
I needed something lightweight and a uniform final solution for various real time  
datamonitoring things like numerical algorithms. If you have a favorite  
package that does something similar you may want to post it here  
but in the meantime the ability to get a mesh out of FF so easily suggests the  
interface is workable.  
The pickture is the most recent 10 meshes superimposed on each other  
which may useful in adaptive mesh analysis but I use it in 1 D oscilloscope  
mode to watch FD convergence or lack thereof.

[first\_ff\_dscope.zip](https://community.freefem.org/uploads/short-url/cH0olabgow8RIO623fXMFHg5GLe.zip) (41.8 KB)

 ![datascopeload1](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/a/aeb4015fae752b11a2b57a48d2f1785d6dd8cb59.jpeg)  
[load.edp](https://community.freefem.org/uploads/short-url/ejQsVGoFL6StYX0WZo7bXwdvJV7.edp) (418 Bytes)

Again, its not really usable but if there is interest I can put it on github.  
It may be possible to adapt ffglut or medit to similar interface or maybe  
it already supports it.

---

<div class="post-metadata">

### Author: ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)
#### Post date: [August 26, 2023, 3:10pm UTC](https://community.freefem.org/t/yet-another-graphics-interface-for-freefem-datascope/2665/2 "2023-08-26T15:10:11Z")

</div>

When I come back form my holiday in one week, I will try.
