LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

intensity graph background color black bu I like to have white

Solved!
Go to solution

Hello:

 

I am trying to plot 2D time-frequency graph. The intensity grapk Background color is remain black whic is not good for report. How I can change, No clue from my side please help, would be highly aprreciated

 

Thanks

 

Moin

 

Moin
0 Kudos
Message 1 of 7
(3,745 Views)

I don't have a thorough answer for you but I think I can point you in the right direction.  See the attached modified example VI.  By experimenting with the property node data you should be able to set the color for data values that are below a threshold to a color other than black.

0 Kudos
Message 2 of 7
(3,740 Views)

Hello: I dont how come I missed your reply. Could you please send the answer in LABview 8.5. I didnt able to open your answer.

Many thanks

 

Moin

 

 

Moin
0 Kudos
Message 3 of 7
(3,679 Views)

Hello Moin,

 

Here is a Knowledge Base article with the instructions for the proper property node to programmaticly change the background color of a graph.

 

http://digital.ni.com/public.nsf/allkb/925C4EEEFAFD68C78625720F0065869A?OpenDocument

Regards,

M. Whitaker
ni.com/support
0 Kudos
Message 4 of 7
(3,661 Views)

Hi:

 

I have been trying for long time according to this instruction. it is not working for me. The back ground color is still black.

 If you please help me, I attached the code (NI 8.5) . May be something wrong that is beyond my knowlege.

 

Thanks

 

Moin

 

 

Moin
0 Kudos
Message 5 of 7
(3,657 Views)
Solution
Accepted by topic author laplace_transform

The background color of the graph itself is not black : the point is that most of the intensity values in your data are equal to zero, thus the corresponding points in the graph are black because of the Z color scale chosen 😉

Just change the color scale for intensities, with white for zero values, and it works (see modified attached code)...

HL

 

BTW, you don't need any flat sequence in the code...

Download All
0 Kudos
Message 6 of 7
(3,650 Views)

Many many thanks to you.

 

Thanks

 

Moin

 

Moin
0 Kudos
Message 7 of 7
(3,629 Views)