MATLAB: How to plot a graph without any marking in axes MATLAB whenever im ploting a graph the goddam marking is shown on the axes?how to omit that? Best Answer By markings, do you mean the Ticks on the Xaxis and Yaxis..you can remove them by:figure1 = figure;axes1 = axes('Parent',figure1,'YTick',zeros(1,0),'XTick',zeros(1,0));box(axes1,'on');hold(axes1,'all');plot(whatever you want to plot) Related SolutionsMATLAB: Marking indexes I think that all you want to do is this: x = [ 1 7 12 16 ]; y = zeros(1,20); y(x) = 1If y is rather large, you can create a SPARSE matrix: y = sparse(1,20); y(x) = 1 MATLAB: Image invisible Hide:set(gca,'visible','off') %hide the current axesset(get(gca,'children'),'visible','off') %hide the current axes contentsShow:set(gca,'visible','on') %show the current axesset(get(gca,'children'),'visible','on') %show the current axes contentsIf needed replace gca by the handle of the axes you wish to work with Related QuestionMarking pointsPlotyy y axes overlapMarking on imageHiding x and y axes, but leaving top and right axes visibleMarking some points.
Best Answer