MATLAB Object-Oriented Programming

(Joyce) #1
Changing properties updates the graph:

d.y = rand(10,1);
lg.Data = d;
lg.LineColor = [0.9,0.1,0.6];

Now click Zoom Out and see the new results:

12 How to Build on Other Classes

Free download pdf