XY trace has a maximum of 12 inputs anyway. There might be a Matlab device
that would do what you want. I've never used such stuff but take a look at
the example MultiTraceGraph.vee ( in the examples that come with VEE 6,
under "Matlab").
Regards,
Warren
-----Original Message-----
From: SPANGENBERG,SASCHA (A-Scotland,ex1)
[mailto:sascha_spangenberg@agilent.com]
Sent: 28 April 2004 14:37
To: VRF
Subject: [vrf] RE: Plotting multiple Traces at once?
Unfortunately I have a variable number of traces coming in so I can't
just "wire" the traces to the graph.
Also this would be very laborious for a large number of traces (say 100
;-))
Sascha
> -----Original Message-----
> From: Pickles, Warren [mailto:Warren.Pickles@tycoelectronics.com]
> Sent: 28 April 2004 13:54
> To: PDL-LISTS,VRF (A-Lists,unix1)
> Subject: [vrf] RE: Plotting multiple Traces at once?
>
>
> Sascha,
>
> You're right the XY trace won't take a 2D array. But you can
> add an input
> pin(s), and split your 2D array into 1D arrays. Say your 2D
> array has each
> column containing the data points of one trace. Then
> ary[*,0] gives you the
> first column, ary[*,1] the second, and so on.
>
> Warren
>
>
>
> -----Original Message-----
> From: SPANGENBERG,SASCHA (A-Scotland,ex1)
> [mailto:sascha_spangenberg@agilent.com]
> Sent: 28 April 2004 13:42
> To: VRF
> Subject: [vrf] Plotting multiple Traces at once?
>
>
> Hi All
>
> is it possible to plot multiple traces in one graph at once?
>
> E.g. I have a 2D Array with each column (or row) containing
> the data points of one trace.
>
> I tried to feed this into a XY Trace but it only takes a Scalar or 1D
> Array.
>
> Running a for loop over all the columns and adding a new trace to the
> graph is
> very slow (for large traces > 100) so I hope for a faster solution.
>
> Regards,
> Sascha.
>
> ---
> You are currently subscribed to vrf as:
> Warren.Pickles@tycoelectronics.com
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list, email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
>
> ---
> You are currently subscribed to vrf as: sascha_spangenberg@agilent.com
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list, email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
>
---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
that would do what you want. I've never used such stuff but take a look at
the example MultiTraceGraph.vee ( in the examples that come with VEE 6,
under "Matlab").
Regards,
Warren
-----Original Message-----
From: SPANGENBERG,SASCHA (A-Scotland,ex1)
[mailto:sascha_spangenberg@agilent.com]
Sent: 28 April 2004 14:37
To: VRF
Subject: [vrf] RE: Plotting multiple Traces at once?
Unfortunately I have a variable number of traces coming in so I can't
just "wire" the traces to the graph.
Also this would be very laborious for a large number of traces (say 100
;-))
Sascha
> -----Original Message-----
> From: Pickles, Warren [mailto:Warren.Pickles@tycoelectronics.com]
> Sent: 28 April 2004 13:54
> To: PDL-LISTS,VRF (A-Lists,unix1)
> Subject: [vrf] RE: Plotting multiple Traces at once?
>
>
> Sascha,
>
> You're right the XY trace won't take a 2D array. But you can
> add an input
> pin(s), and split your 2D array into 1D arrays. Say your 2D
> array has each
> column containing the data points of one trace. Then
> ary[*,0] gives you the
> first column, ary[*,1] the second, and so on.
>
> Warren
>
>
>
> -----Original Message-----
> From: SPANGENBERG,SASCHA (A-Scotland,ex1)
> [mailto:sascha_spangenberg@agilent.com]
> Sent: 28 April 2004 13:42
> To: VRF
> Subject: [vrf] Plotting multiple Traces at once?
>
>
> Hi All
>
> is it possible to plot multiple traces in one graph at once?
>
> E.g. I have a 2D Array with each column (or row) containing
> the data points of one trace.
>
> I tried to feed this into a XY Trace but it only takes a Scalar or 1D
> Array.
>
> Running a for loop over all the columns and adding a new trace to the
> graph is
> very slow (for large traces > 100) so I hope for a faster solution.
>
> Regards,
> Sascha.
>
> ---
> You are currently subscribed to vrf as:
> Warren.Pickles@tycoelectronics.com
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list, email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
>
> ---
> You are currently subscribed to vrf as: sascha_spangenberg@agilent.com
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list, email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
>
---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
You could use the Matlab plot() function.
plot(x,y), where x is a 1-D array of the independent variable and y is your
2-D array, will do what you want as long as one of the dimensions of y is
the same length as x. If you do not have an independent variable, plot(y)
will plot the columns of y or plot(y') will plot the rows.
Since you have something like 100 traces you might also want to investigate
Matlab's 3D plotting functions such as mesh(), waterfall(), surf(), and
contour(). They are not as complicated as the documentation looks. Most of
them work with just a single argument, or just one-dimensional x and y
arguments and two-dimensional z. Ignore the color arguments until you
decide you need them, which may be never.
--
Bill Ossmann
Philips Ultrasound
e-mail: bill.ossmann@philips.com
---------------------------------------------------------------------------------------
Unfortunately I have a variable number of traces coming in so I can't
just "wire" the traces to the graph.
Also this would be very laborious for a large number of traces (say 100
;-))
Sascha
> -----Original Message-----
> From: Pickles, Warren [mailto:Warren.Pickles@tycoelectronics.com]
> Sent: 28 April 2004 13:54
> To: PDL-LISTS,VRF (A-Lists,unix1)
> Subject: [vrf] RE: Plotting multiple Traces at once?
>
>
> Sascha,
>
> You're right the XY trace won't take a 2D array. But you can
> add an input
> pin(s), and split your 2D array into 1D arrays. Say your 2D
> array has each
> column containing the data points of one trace. Then
> ary[*,0] gives you the
> first column, ary[*,1] the second, and so on.
>
> Warren
>
>
>
> -----Original Message-----
> From: SPANGENBERG,SASCHA (A-Scotland,ex1)
> [mailto:sascha_spangenberg@agilent.com]
> Sent: 28 April 2004 13:42
> To: VRF
> Subject: [vrf] Plotting multiple Traces at once?
>
>
> Hi All
>
> is it possible to plot multiple traces in one graph at once?
>
> E.g. I have a 2D Array with each column (or row) containing
> the data points of one trace.
>
> I tried to feed this into a XY Trace but it only takes a Scalar or 1D
> Array.
>
> Running a for loop over all the columns and adding a new trace to the
> graph is
> very slow (for large traces > 100) so I hope for a faster solution.
>
> Regards,
> Sascha.
>
> ---
> You are currently subscribed to vrf as:
> Warren.Pickles@tycoelectronics.com
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list, email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
>
> ---
> You are currently subscribed to vrf as: sascha_spangenberg@agilent.com
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list, email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
>
---
You are currently subscribed to vrf as: bill.ossmann@philips.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".