MATLAB: How i plot specified point from signal plot how i plot specific point from signal, for example: i want to plot just the points that have y different to zero? Best Answer If your data were plotted with plot(x,y)and you want to only plot data where y~=0, then first find the indices where y~=0 and eliminate them from both x and y. yKeep = y~=0;plot(x(yKeep), y(yKeep))If you have data that are very close to 0 but not equal to zero (ie, 0.000001) and you want to eliminate them as well, use ismembertol(). Related SolutionsMATLAB: Removing zero data from Scatter3 figure What is "transparent color"? Do you want the points to vanish? Then:[x,y,z] = meshgrid(1:50,1:200,1:200);keep = (P(:) ~= 0);x = x(keep);y = y(keep);z = z(keep);scatter3(y(:), z(:), x(:), 5, P(:) ,'marker', '.') MATLAB: How do i write a for loop to eliminate point under a certain value With basic indexing:Ti_x(Ti_x<=0.25) = NaNNaN values do not get plotted. Related QuestionMake certain plot markers invisibleHow to edit properties of a plot and highlight certain points in the graph at the same timeHow to interpolate in between known data points..
Best Answer