LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create a non-linear (not log) y-axis scale on a graph?

I want to plot log(log(y)) vs x. On the y-axis of the graph I need to display 'y', NOT log(y) or log(log(y)). How do I adjust the scale to allow for this?

{I do realize that I can plot log(y) vs x and display 'y' by using the Logarithmic scale option.}
0 Kudos
Message 1 of 6
(7,904 Views)
Try to play with markers (arbitrary checked) or even programmatically creating a Property Node (YscaleMarkerVals[])
0 Kudos
Message 2 of 6
(7,903 Views)
Thanks for the response. I use markers via the Property Node right now, but the Scale does not automatically adjust itself if I zoom in or out (as a normal Scale would). Linear mapping can be implemented with the Y0 and dY parameters. I have struggled for 2 whole days, but still cannot do a non-linear mapping.
0 Kudos
Message 3 of 6
(7,905 Views)
You can't really do this easily with a LabVIEW graph object with out heavy additional programming. The only scale mapping available are linear or logarithmic as I'm sure you know. You might consider doing something like embedding a Microsoft Excel graph in LabVIEW using an activeX container to get the sort of functionality you're looking for.
0 Kudos
Message 4 of 6
(7,903 Views)
> I want to plot log(log(y)) vs x. On the y-axis of the graph I need to
> display 'y', NOT log(y) or log(log(y)). How do I adjust the scale to
> allow for this?
>
> {I do realize that I can plot log(y) vs x and display 'y' by using the
> Logarithmic scale option.}


Not being that familiar with the typical labeling on log(log) plots, you
may be able to do this using two scales. Make a graph that contains two
scales. One will be plotted against, the other will be just for labeling.
You can now transform your diagram data, which will change how the mapped
scale is labeled, but the other scale can show whatever you like in linear
or log form.

In otherwords, on the diagram, perform log10 on your data, then display on
a log scale that is hidden. Make another scale vi
sible with linear or log
data. Or perform log10(log10) on your data, display on a hidden linear
scale.

I'm not sure how well this will work. If it is insufficient, you can submit
a feature request on the web site.

Greg McKaskle
0 Kudos
Message 5 of 6
(7,903 Views)
Hello!
 
Now I have this problem too.
May be somebody find at this moment how solve this problem?
 
Thanks!
0 Kudos
Message 6 of 6
(7,571 Views)