Creating a plot with line plot and scatter plot in the same figure

Creating a plot with line plot and scatter plot in the same figure

Post by Andre » Sun, 27 Jul 2008 02:02:52


Hello,

I am looking to plot a line plot of a function (say, x^2)
and a scatter plot of various data points on the same
figure. Is there a way to do this?

Perhaps it involves using the "hold on" command?

Thanks so much for your time!

Andrew
 
 
 

Creating a plot with line plot and scatter plot in the same figure

Post by Bruno Luon » Sun, 27 Jul 2008 02:18:03


<g6d0vs$kfq$ XXXX@XXXXX.COM >...


Likely yes.

Bruno