LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Editing Properties for Multiple Plots

I've created a 1D cellular automata utility that takes in a specified
number of points and an initial boolean array and determines the
following state given a simple rule, with continuing iterations. All
of this works fine, my question is this:

I would like to graph each array (for each state) all at once so as to
see the overall picture rather than each individual point within the
array for each state. I can plot multiple points by building a 2D
array and sending it to the chart, yet this automatically assigns
colors and line styles to each new plot. Is there some way in LabVIEW
7.0 that I can edit the color for an unspecified number of plots on a
chart? Any and all help would be appreciated.

0 Kudos
Message 1 of 2
(2,373 Views)

Yes. You can create a property node (Right click on the indicator or the terminal and select Create>>Property Node) and use the ActivePlot property to determine which plot to change and then the plot properties to actually modify the plot. Note that you should only do this after you feed the data to the graph, because otherwise you're dealing with non-existent plots.

P.S. I personally prefer XY graphs because you can control them better. There should be examples of using graphs in the example finder (Help>>Find Examples).

To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
Message 2 of 2
(2,364 Views)