LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change the color of the graph automatically

Solved!
Go to solution

Hi there,

 

I want to plot many graphs with different colors.

I have written a program which does the calculations in matlab even can plot in it, but i would like the plots  to be in labview , it turns out that the color of all the plots is white .

Can anyone have a look at my program and tell where the mistake is.

the main program is calculate ....._maxmin

 

thank you

0 Kudos
Message 1 of 9
(3,468 Views)

You only plot to "Plot 1" on the xy graph and its color is white. If you want multiple plots search for "mutiple plots" examples. It will show you how to combine plots onto the same graph.

0 Kudos
Message 2 of 9
(3,449 Views)
0 Kudos
Message 3 of 9
(3,438 Views)

Hi aeastet,

 

your version looks fine the only problem is that i can not open it.

can you send it in labview 8.5. ( so I can give you kudos  Smiley Happy)

 

 

 

 

0 Kudos
Message 4 of 9
(3,426 Views)
Solution
Accepted by topic author aqif
0 Kudos
Message 5 of 9
(3,420 Views)

This will add each plot in a different color21926i2C5116E742FB1983

0 Kudos
Message 6 of 9
(3,408 Views)

Hi Viper,

 

Can you send your version in Labview  8.5 or lower as a an attachment , so I can try your version.

 

Thank you

0 Kudos
Message 7 of 9
(3,365 Views)

Hi Tim,

 

thank you for your help , can you tell me how do you create the active node that reads plot color

0 Kudos
Message 8 of 9
(3,341 Views)

That is a property node. If you right click the graph on of the options is to creat a property node. Then you need to select the active plot. You will need to size it for two input or output or how ever many that you need and then select the property for the color. You can also change if it reads or writes to the graph.

Tim
GHSP
0 Kudos
Message 9 of 9
(3,300 Views)