Rank: 162671 based on 0 downloads (last 30 days) and 0 file submitted
photo

Greg Lasky

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Greg Lasky
Updated File Comments Rating
11 Nov 2013 Plot (Big) Makes MATLAB's line plots much faster. Author: Tucker McClure

Great program!

But here's the issue: It seems to work for a stand alone axis.

But it does not work if I'm trying to hand over an axis in a GUI to it (I don't know if I'm doing it right though).

For example, I have a GUI with 5 separate axes and I need to specify which one I want to plot my data to.

So I have:

h=plot(handles.RawData,data); %handles.RawData is the reference to the axis
LinePlotReducer(h);

But I get the error:

Cell contents reference from a non-cell array object.

Error in LinePlotReducer (line 157)
o.x{k} = o.x{k}(:);

Seems though that what's causing the problem here is the section in LinePlotReducer that deals with this which seems to think that the 'XData' field in the handle for plot is a cell array when in fact it is just a regular array.

Or maybe I'm not doing something right

Contact us