LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiplot: Names of the Plots

I want to give each plot the name of the measurement, but 1 was only
able to chance the name of Plot 0 with "Property Node-Plot name" and not
the names of Plot 1 and higher. How can i do that?

Martin Rudigier
0 Kudos
Message 1 of 5
(2,855 Views)
First you must set active plot, if you set active plot to 1, you'll change that plot's name when you set plot name, if you select 2 as active plot...
0 Kudos
Message 2 of 5
(2,855 Views)
> I want to give each plot the name of the measurement, but 1 was only
> able to chance the name of Plot 0 with "Property Node-Plot name" and not
> the names of Plot 1 and higher. How can i do that?
>

If you inspect the output of the property node, you will see that
it is returning an error. You cannot set a property on a plot
that has not been allocated.

First, write some data to the graph for each plot. Even an empty
array or waveform will allocate the plot, then set the properties.
Another way to allocate the plots is to grow the legend to show
the plot and plot name.

Greg McKaskle
0 Kudos
Message 3 of 5
(2,855 Views)
Greg McKaskle wrote:
>
> > I want to give each plot the name of the measurement, but 1 was only
> > able to chance the name of Plot 0 with "Property Node-Plot name" and not
> > the names of Plot 1 and higher. How can i do that?
> >
>
> If you inspect the output of the property node, you will see that
> it is returning an error. You cannot set a property on a plot
> that has not been allocated.
>
> First, write some data to the graph for each plot. Even an empty
> array or waveform will allocate the plot, then set the properties.
> Another way to allocate the plots is to grow the legend to show
> the plot and plot name.

Even then, you have to manually do something to the new plot (at least
in 5.1). If you grow the legend to 2 plots, you have to
do something
like setting the color or line type.

Only then can you work with the second plot programmatically.

Mark
0 Kudos
Message 4 of 5
(2,855 Views)
Thank you, now it works.

Martin Rudigier

Rudigier Martin schrieb:
>
> I want to give each plot the name of the measurement, but 1 was only
> able to chance the name of Plot 0 with "Property Node-Plot name" and not
> the names of Plot 1 and higher. How can i do that?
>
> Martin Rudigier
0 Kudos
Message 5 of 5
(2,855 Views)