LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot line graph from array data

Hello,
I have a problem with ploting a characteristic. In my case values on Y axis are from 0 to 100 and values on X axis change with interval of 1 from 1 to 10. For example: if X = 2 I can have multiple Y values.

 

Firstly I've tried to use XY Graph but when X data was set, then the plot looks as in first attachment (xygraph.jpg).

Next, I've tried to use Waveform Graph and here characteristic looks good, but unfortunately the X axis default is Time and I don't know how to change it to my X values (1, 2... 10) for specific Y values.  

 

Greetings

0 Kudos
Message 1 of 3
(2,811 Views)

Show an example of your data. And show that you want to see on the chart.
While I do not understand what the problem is.

0 Kudos
Message 2 of 3
(2,749 Views)

If "what you see is not what you want", either your code or your representation (i.e. Plot Property) is wrong.  The best way for us to help you is to see your code in context, which is best achieved by your attaching your VI to a reply.  Don't bother with attaching pictures -- we need to see the actual block diagram and front panel (so we can "play" with it and see how it really is working).

 

Bob Schor

0 Kudos
Message 3 of 3
(2,742 Views)