# Broken gnuplot

**URL:** <https://www.ruby-forum.com/t/broken-gnuplot/239408>\
**Category:** GNU Radio\
**Created:** [February 25, 2014, 12:50pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408 "2014-02-25T12:50:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [February 25, 2014, 12:50pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/1 "2014-02-25T12:50:45Z")

</div>

Hi all guys,

lately I have experienced some problems with showing scope and fft plot.  
Namely, the plots looks raw and ugly. Once there was an report that  
gnuplot  
was killed.

Any idea how to check and repair this?

Best,

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [February 25, 2014, 1:15pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/2 "2014-02-25T13:15:27Z")

</div>

On 02/25/2014 12:49 PM, Nemanja S. wrote:

> Hi all guys,
> 
> lately I have experienced some problems with showing scope and fft plot.  
> Namely, the plots looks raw and ugly. Once there was an report that  
> gnuplot was killed.
> 
> Any idea how to check and repair this?

Are you using gnuplot?

What exactly are doing and which tools are you using?

M

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [February 25, 2014, 2:09pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/3 "2014-02-25T14:09:01Z")

</div>

* * *

Discuss-gnuradio mailing list  
removed\_email\_address@domain.invalid  
[https://lists.gnu.org/mailman/listinfo/discuss-gnuradio](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [February 25, 2014, 3:36pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/4 "2014-02-25T15:36:41Z")

</div>

Is there any way to repair this, because one or two months ago,  
everything  
was ok? Or, is there any log where I can figure what is the exact  
problem?

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [February 25, 2014, 3:03pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/5 "2014-02-25T15:03:44Z")

</div>

On Tue, Feb 25, 2014 at 8:07 AM, Nemanja S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> So, it is default installation. I use RHEL6. Some time ago I uninstalled  
> numpy due to installation of new version of matplotlib (I don’t know if  
> this is important).  
> Now my gui looks like this

That’s using wxPython, not gnuplot. It doesn’t use matplotlib, either  
(which depends on numpy, so if you installed matplotlib, you also still  
have numpy). That will have no effect on the wxgui plots.

This is possibly related to opengl, though. You can turn that off by  
editing $prefix/etc/gnuradio/conf.d/gr-wxgui.conf.

Tom

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [February 25, 2014, 11:46pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/6 "2014-02-25T23:46:31Z")

</div>

Thank you Tom. I try tomorrow.

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [February 25, 2014, 4:21pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/7 "2014-02-25T16:21:28Z")

</div>

On Tue, Feb 25, 2014 at 9:35 AM, Nemanja S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Is there any way to repair this, because one or two months ago, everything  
> was ok? Or, is there any log where I can figure what is the exact problem?

Well, since we don’t know what you changed on your side, it’s hard to  
help you fix it. Again, numpy, matplotlib, and gnuplot have nothing to  
do with this.

Have you tried my suggestion of turning opengl off? That tends to be  
the main problem people have with using wxgui.

Tom

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [February 26, 2014, 6:29pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/8 "2014-02-26T18:29:27Z")

</div>

On Wed, Feb 26, 2014 at 6:23 AM, Nemanja S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> RuntimeError: Unable to import OpenGL. Are Python wrappers for OpenGL  
> installed?

Ok, so definitely stick with the non-OpenGL version.

As to why it’s stopped working for you, I can’t say. Can you roll back  
to an older version of GNU Radio that you know was working to see if  
it’s something there? If not, it’s something with your system, and we  
can’t really be much help with that.

Tom

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [February 26, 2014, 12:24pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/9 "2014-02-26T12:24:33Z")

</div>

When I use nongl option, then the gui looks like on the figure I posted,  
and when I use gl option, the follosing error occures:  
Traceback (most recent call last):  
File “/home/savi\_ne/work/gnuradio/GRC/top\_block.py”, line 14, in  
  
from gnuradio.wxgui import fftsink2  
File  
“/usr/local/lib64/python2.6/site-packages/gnuradio/wxgui/fftsink2.py”,  
line  
34, in   
raise RuntimeError(“Unable to import OpenGL. Are Python wrappers  
for  
OpenGL installed?”)  
RuntimeError: Unable to import OpenGL. Are Python wrappers for OpenGL  
installed?

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 8, 2014, 6:21pm UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/10 "2014-05-08T18:21:12Z")

</div>

Hi all again,

actually yes, the problem was due to numpy. Namely, I uninstalled 1.4.1  
which I have on my RHEL6 and installed 1.5 or something. During that  
opengl  
was somehow deleted and when I installed using package manager, numpy  
1.4.1  
was installed again.

best

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 12, 2014, 11:25am UTC](https://www.ruby-forum.com/t/broken-gnuplot/239408/11 "2014-05-12T11:25:10Z")

</div>

If somebody have the same problem, just install pyopengl from source.
