LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

log. scale in graph control

Hello again

I have another problem with my application, hopefully someone can help me
again (thanks to Guillaume Dargaud).

I have an panel with a Graph Control. I want to display frequency data with
a log. x and y axis. But this does not work completly right. The control
often draws one unwanted line. This happend only when I use a log. x axis.
When I set the x axis to linear, the plotting is correkt.
I use PlotY with 1024 values (x axis) and value between 0.1 and 3.

Any suggestions ?

Stephan Gerhards
stephan.gerhards@ni.com
0 Kudos
Message 1 of 2
(3,150 Views)
Hello
I found the answer by myself: using PlotXY gives the correct result. PlotY
will always start the X value with 0, and this is not allowed with a log.
scaling

Stephan

Stephan Gerhards schrieb in im Newsbeitrag:
3961fc41@newsgroups.ni.com...
> Hello again
>
> I have another problem with my application, hopefully someone can help me
> again (thanks to Guillaume Dargaud).
>
> I have an panel with a Graph Control. I want to display frequency data
with
> a log. x and y axis. But this does not work completly right. The control
> often draws one unwanted line. This happend only when I use a log. x axis.
> When I set the x axis to linear, the plotting is correkt.
> I use PlotY with 1024 values (x axis) and value between 0.1 and 3.
>
> Any s
uggestions ?
>
> Stephan Gerhards
> stephan.gerhards@ni.com
>
>
0 Kudos
Message 2 of 2
(3,150 Views)