MATLAB: Reverse the y-data in Matlab inversereverse No longer needed. Best Answer Is this what you mean?flippedImage = flipud(originalImage); Related SolutionsMATLAB: Extracting y-data from ezplot. Hi,you need to get the contourMatrix:bla = ezplot('1.5*x.^.56*y.^.44=1', [0 6 0 6]);tmp = get(bla,'contourMatrix');figureplot(tmp(1,:),tmp(2,:))set(gca,'ylim',[0 6])Small note: Don't name a variable, e.g. "cd" like a MATLAB function. MATLAB: How to change plot from Descending to Ascending Maybe something like using sort() to sort your data,[gpa, sortOrder] = sort(gpa, 'descend');k = k(sortOrder); % Sort k the same way.or setting the xdirection to reverse:ax = gcaax.YDir = 'reverse'; Related QuestionCftool weights given errors for y-dataQuestion about YDir, reverse
Best Answer