MATLAB: Y axis in scientific form axisplotplotting Hello, I want to plot Y axis in the scientific form and not in engineering form (es 1E4 and not 10^4), si it possible? Best Answer How does this work for you?ax = axes;plot(ax, 1:10, (1:10).^10)% get rid of 'x 10^N' in cornerax.YAxis.Exponent = 0;% get rid of 'x 10^N' formatting in individual labelsytickformat(ax, '%f')% get the labelsyticklabels = ax.YTickLabel;% for each one, reformat to 'E+N' notation using sprintffor ii = 1:numel(yticklabels) yticklabels{ii} = sprintf('%.0E', str2double(yticklabels{ii}));end% reassign the labelsax.YTickLabel = yticklabels; Related SolutionsMATLAB: Deletting X and Y axes ticks set(gca,'xtick',[]) set(gca,'ytick',[]) MATLAB: Is there a way to remove individual tick labels ax = gca; %or as appropriateyticklabels = get(ax, 'YTickLabel');yticklabels{end} = ''; %needs to exist but make it emptyset(ax, 'YTickLabel', yticklabels); Related QuestionCan’t I define separate tick mark labels using pipes in MATLAB R2014bScientific notation at y-axis with yticks/yticklabelsFlip the Y-axis ticks without flipping the plotHow to remove the tic labels but not the marksProblems with the limits of axesHow to prevent Y axis exponential from overlapping with the plotHow to scale the Tick Label by a number
Best Answer