LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I plot multiple series in Excel?

How do I plot multiple series in Excel if I have data x versus data y, and series 1 is from cell A2-A15 and B2-B5, series 2 is from A16-A29 and B16-B29, and series 3 is from A17-A30 and B17-B30 and so on and so forth (without using macro if possible)? Thanks
0 Kudos
Message 1 of 12
(27,797 Views)
Using the Chart Wizard, initially there are two tabs: Data Range and Series, goto the series and there is a command button there that allows you to add series. If you add a new series you also have to add the values to that series but highlighting the range of data that you want associated with that seris.
0 Kudos
Message 2 of 12
(27,795 Views)
I mean do it in LabView. How do I do code that in LabView? Thanks
0 Kudos
Message 3 of 12
(27,795 Views)
Here is LV70 code that I wrote to be a giant example. I modifed it to plot two lines.
Message 4 of 12
(27,795 Views)
For some reason, I modified my code to be similar to yours, but I have nothing on the graph. Is it possible that because I have the column title that it doesnt work? I am trying to make series out of column A (series 0, 1, 2, 3, etc.) and graph column B versus column C. Thanks
0 Kudos
Message 5 of 12
(27,795 Views)
I modified Jeremy's code to work with multiple X data sets.
 
i.e.
 
X1 = {1,2,3,4,5}
Y1 = {4,3,6,1,8}
 
X2 = {2,3,4,5,6}
Y2 = {4,5,6,1,8}
 
Xn
Yn
 
Note that when you first create the graph you must create n plots of "dummy" data.
0 Kudos
Message 6 of 12
(27,663 Views)

sorry to bring up old thread, but thanks for the vi attached to this link.

i am able to learn this code .

but i am having a program trying to save the end of the code and i recieved an error.

can you guys sugguest what i can do?

Untitled.png

0 Kudos
Message 7 of 12
(5,501 Views)

sorry to bring up old thread, but thanks for the vi attached to this link.

i am able to learn this code .

but i am having a program trying to save the end of the code and i recieved an error.

can you guys sugguest what i can do?

Untitled.png

0 Kudos
Message 8 of 12
(5,499 Views)

Untitled.png

0 Kudos
Message 9 of 12
(5,485 Views)

Please share your Code.

Munna
0 Kudos
Message 10 of 12
(5,476 Views)