MATLAB: How to use greek symbols in plot labels greek symbollabel;plot Hi, I have a plot x axis of which is formed of an array like [ 20 25 30…] But I want x-axis to appear like lambda/20 lambda/25 etc. Could you please help me? Best Answer Merve, you mean something like lambda = 20:5:40; y = 1./lambda; plot(lambda,y) xlabel('{\lambda}') set(gca,... 'xtick',lambda,... 'xticklabel',{'l/20' 'l/25' 'l/30' 'l/35' 'l/40'},'fontname','symbol') Related SolutionsMATLAB: How do i plot a cell array fi{i} where every cell contains 1*1 matrix gama_rd=50;v = 0.1;lambda=0:.01:100*.01;fi=((lambda*v*gama_rd+lambda*v+2-lambda).*(1-lambda))./((lambda*v+2-lambda).*(lambda*v+1-lambda));plot(lambda,fi) MATLAB: How to obtain empty 3d plot ax = axes();xlim(ax, [-20 20]);ylim(ax, [-20 20]);zlim(ax, [-20 20]);view(ax, 3)hold(ax, 'on') Related QuestionHow can i solve this equationPlease, I would like to present the xlimit in a plot into scientific notationHow to put hat over a greek symbol express its value in legend of a plot
Best Answer