How do I represent time domain plot as vector

I have the following data and their values:
x contains
<1 x 40000>
y contains
<1 x 40000>
I did a plot as follows:
vsign = plot(x,y);
How do I represent vsign in vector form of
<1 x 40000>
instead of the scalar value of 174.0023 am getting?

Answers (1)

When you assign an output to the plot command, what you get is a "handle" to the plotted line, which you can use to edit some of its properties. This is described in
>> doc plot
That, as you see, is a scalar. You can use
>> get(vsign)
to see those properties and their values.
What is it that you want instead?

Asked:

on 31 Jul 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!