# Changing Graphcolor in FFTSINK2

**URL:** <https://www.ruby-forum.com/t/changing-graphcolor-in-fftsink2/218537>\
**Category:** GNU Radio\
**Created:** [April 3, 2012, 6:27pm UTC](https://www.ruby-forum.com/t/changing-graphcolor-in-fftsink2/218537 "2012-04-03T18:27:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [April 3, 2012, 6:27pm UTC](https://www.ruby-forum.com/t/changing-graphcolor-in-fftsink2/218537/1 "2012-04-03T18:27:06Z")

</div>

Hi,

I’m using gnuradio-companion and in it the FFT-Sink and wonder if there  
is an easy way to change the ploting color for the shown data from blue  
to red?

Thanks

Mario

---

<div class="post-metadata">

**Author:** ![mario\_behn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8e7dd6/32.png) [@mario\_behn](https://www.ruby-forum.com/u/mario_behn)\
**Post date:** [April 3, 2012, 7:50pm UTC](https://www.ruby-forum.com/t/changing-graphcolor-in-fftsink2/218537/2 "2012-04-03T19:50:13Z")

</div>

On 04/03/2012 09:25 AM, mario behn wrote:

> Hi,
> 
> I’m using gnuradio-companion and in it the FFT-Sink and wonder if there  
> is an easy way to change the ploting color for the shown data from blue to red?

I think its hard coded in fft\_window.py

gr-wxgui/src/python$ grep COLOR \*

-josh

---

<div class="post-metadata">

**Author:** ![mario\_behn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8e7dd6/32.png) [@mario\_behn](https://www.ruby-forum.com/u/mario_behn)\
**Post date:** [April 3, 2012, 9:25pm UTC](https://www.ruby-forum.com/t/changing-graphcolor-in-fftsink2/218537/3 "2012-04-03T21:25:09Z")

</div>

Try setting up extra channels in the plot - the next two colours are  
green and red. You will have to put some kind of null input to the  
channels you don’t want, or put the one source into all of them and move  
the colours you don’t want off the displayed area.

Hugh Pett

---

<div class="post-metadata">

**Author:** ![mario\_behn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8e7dd6/32.png) [@mario\_behn](https://www.ruby-forum.com/u/mario_behn)\
**Post date:** [April 4, 2012, 5:51pm UTC](https://www.ruby-forum.com/t/changing-graphcolor-in-fftsink2/218537/4 "2012-04-04T17:51:48Z")

</div>

Sorry, I goofed - misread the question.  
My reply refers to an oscilloscope sink, not FFT.  
Hugh Pett
