<div dir="ltr"><div><div><div><div><div><div><div>Hello,<br><br></div>I'm experimenting with fitting an ODE model (a non-linear system) to some data; what I want to do is to plot the curves representing the ODE numerical solutions against the initial (discrete) data points.  And I want to be able to specify the thickness and color of the curves, as well as providing a legend to it.<br><br></div>I can do the curves by carefully using gca, gce etc, and copying and pasting examples from the documentation, but I don't yet know how to plot the data points.<br><br></div>For example, I have a time vector containing about 150 points, and an array containing all the corresponding ODE values; thus:<br><br>plot2d(t,x',style=[color("red"),color("green"),color("blue")]); <br><br></div>However, I don't know how to include in this plot the 14 or 15 data points.<br><br></div>I find gca, gce somewhat tricky to use - is there an easier way: a front end to plotting multiple curves and specifying the characteristics of each curve?<br><br></div>Many thanks,<br></div>Alasdair<br clear="all"><div><div><div><div><div><div><div><div><br>-- <br><div><div dir="ltr"><a href="http://www.facebook.com/alasdair.mcandrew" target="_blank"><img alt="http://www.facebook.com/alasdair.mcandrew" src="https://dl.dropboxusercontent.com/u/2796170/facebook.png"></a> <a href="https://plus.google.com/+AlasdairMcAndrew/posts" target="_blank"><img alt="https://plus.google.com/+AlasdairMcAndrew/posts" src="https://dl.dropboxusercontent.com/u/2796170/f-gplus_256-48.png"></a> <a href="https://www.linkedin.com/pub/alasdair-mcandrew/a/178/108" target="_blank"><img alt="https://www.linkedin.com/pub/alasdair-mcandrew/a/178/108" src="https://dl.dropboxusercontent.com/u/2796170/linkedin.png"></a> <a href="https://twitter.com/amca01" target="_blank"><img alt="https://twitter.com/amca01" src="https://dl.dropboxusercontent.com/u/2796170/twitter.png"></a> <a href="http://numbersandshapes.net" target="_blank"><img alt="http://numbersandshapes.net" src="https://dl.dropboxusercontent.com/u/2796170/wordpress.png"></a><br></div></div>
</div></div></div></div></div></div></div></div></div>