How do I get this to plot in XY graph?
How do I get this to plot in XY graph?
(OP)
Hi guys - I'm sure this is a basic question, but I can't seem to get past it.
I have the following:
Function(i):= ( data1(i) data2(i) data3(i) )
Function(0)= ( 5 2 3)
Freq:= 8..10
I want to be able to plot Function(0) vs. Freq on an XY Plot (similar to below pic but w/ connected lines), but I can't seem to get it to work. Any ideas?
5| x
4|
3| x
2| x
1|_ _ _ _
0 8 9 10
Any help would be greatly appreciated.
Thanks in advance :)
I have the following:
Function(i):= ( data1(i) data2(i) data3(i) )
Function(0)= ( 5 2 3)
Freq:= 8..10
I want to be able to plot Function(0) vs. Freq on an XY Plot (similar to below pic but w/ connected lines), but I can't seem to get it to work. Any ideas?
5| x
4|
3| x
2| x
1|_ _ _ _
0 8 9 10
Any help would be greatly appreciated.
Thanks in advance :)





RE: How do I get this to plot in XY graph?
Function(Freq-8)@Freq
Cheers
Greg Locock
RE: How do I get this to plot in XY graph?
Any more ideas?
Thanks,ldc
RE: How do I get this to plot in XY graph?
The simplest thing to do is to put the values in two 3x1 vectors, one called Y and the other called X, and plot Y against X.
You can do something similar if you use a data table or an Excel component.
TTFN
RE: How do I get this to plot in XY graph?
Thanks again,
ldc
RE: How do I get this to plot in XY graph?
As I mentioned, data tables or Excel components can be used for inputing data from tests or experiments. The Excel component can easily be used to directly import test data into two columns. Assign two output variables, for Columns A and B. Use a 2x1 matrix with elements X and Y:
(X Y):= your excel component.
The do the plot as before.
TTFN