MATLAB: Plot some lines only plot some lines Hi all! I have two columns with 38 lines. I want to plot these columns, but some lines only. I want to plot the lines 1:14 and 26:38. How can i do this? Thank you! Best Answer idx=[1:14 26:38]plot(x(idx),y(idx)) Related SolutionsMATLAB: How to plot to some maximum axis level Add axis([0 70 -inf inf]) MATLAB: Plot only markers without lines Hi,sounds like you are looking for the scatter or scatter3 function. Related QuestionHow to read only some lines and skip othersStop Excuting some lines
Best Answer