Results 1 to 3 of 3

Thread: Coloring speccific values in a spectrogram

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Coloring speccific values in a spectrogram

    Hello,
    I have the following situation: I have a spectrogram for which I use a color map with color stops. It works fine, but I want to use the color grey for 0 values returned by the value function that needs to be overloaded. The interval in the plot widget may or may not include the zero, but I want all pixels in the spectrogram, where 0 was returned, to be grey. Color stops work only in the interval range, but even if they didn't I need only one value to have a color, not a range of values(even a narrow one).
    How can I accomplish this?
    (attached is a screenshot that shows what I want to do)

    Thank you
    Attached Images Attached Images

Similar Threads

  1. coloring the QString
    By riarioriu3 in forum Newbie
    Replies: 3
    Last Post: 27th September 2012, 23:20
  2. QLinearGradient Coloring
    By WSQtProgrammer in forum Qt Programming
    Replies: 1
    Last Post: 5th July 2012, 17:59
  3. Coloring Circle
    By Jeneo W. in forum Qt Programming
    Replies: 1
    Last Post: 11th October 2010, 04:39
  4. Replies: 9
    Last Post: 16th March 2010, 09:30
  5. Replies: 1
    Last Post: 25th July 2008, 08:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.