LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Negative scale on a Y log scale waveform graph.

I have a problem with my waveform graph : I would like to set Y negative scale in a logarithmic mode. How can I do that? It seems to be impossible (always set to '0' if a set negative value)! What is the problem ?
Thank's in advance.
0 Kudos
Message 1 of 5
(4,262 Views)
The reason is simple, logarithmic values cannot be negative, as logarithm is asintothic in zero, this means log 0 has a value of -inf. So what you want is impossible.
0 Kudos
Message 2 of 5
(4,262 Views)
Well, I am sure what you wanted to say is that the argument of the logarithm must be positive. In other words:

y = log(x); x should be positive.

If you want "y" to be negative, then 0 < x < 1
www.vartortech.com
0 Kudos
Message 4 of 5
(4,262 Views)
I mean that if you set y axis scale as logaritmic, you can't put negative values, it will allways have a zero as start as long as it can't be beyond that.
0 Kudos
Message 5 of 5
(4,262 Views)
Hi,
no problem,
see attached file.
Regards
Mike

GAP wrote:

> I have a problem with my waveform graph : I would like to set Y
> negative scale in a logarithmic mode. How can I do that? It seems to
> be impossible (always set to '0' if a set negative value)! What is the
> problem ?
> Thank's in advance.
0 Kudos
Message 3 of 5
(4,262 Views)