Quantcast
Channel: MATLAB Central Newsreader - tag:"set"
Viewing all articles
Browse latest Browse all 22

Re: Multiple curves in one plot

$
0
0

"Lorenzo" <lollofabbrism@me.com> wrote in message
news:mhspb3$k5v$1@newscl01ah.mathworks.com...
> Hello everybody.
>
> I have a data set like this one:
> X1_val Y1_val X2_val Y2_val
> 1 2 3 4
> 3 44 55 6
>
> But with more columns. I need to plot them in one graph so that I can see
> if the overlap somewhere.
> How can I plot that?
> Thank you.
>

take a look at the documentation for plot

also the function hold (hold on) may be helpful

--
--Loren

http://blogs.mathworks.com/loren

Viewing all articles
Browse latest Browse all 22

Trending Articles