MATLAB: Make line invisible but still have axes scale

line visibility

Is there a way to plot a line and make it invisible and still have the axes scale that line when the figure is panned or zoomed?

Best Answer

You can set it's LineStyle to 'none' and it's Marker to 'none'.