From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting on Log graph

Good Day,
I am plotting a semilog graph displayed on the front panel of my program.
The unit on the x-axis is in frequency(Hz) and the y-axis is in dBc/Hz
I wanted to program in such a way that the a straight line is plot between points at 10,100,1K,10K and 100KHz.That is to say I only need to key in 5 values.
My plot now jumps back to zero as all the values set to zero by default when i do not enter value into each array cell. I hope someone out there has solution to this.
Thank you.
Regards,
Daniel
0 Kudos
Message 1 of 2
(2,276 Views)
You probably want to use an xy-graph. This way you can graph arbitrarily spaced points.

(If you want to use a waveform graph, you must generate interpolated values for all intermediary array elements).
Message 2 of 2
(2,269 Views)