例子: % plot (x,y1) and (x,y2) on the same graph plot(x,y1); axes; % generate a new axes system on the same figure set(gca,'color','none'); % remove the default white background, so the first plot will be seen. set(gca,'yaxis','right'); % move the y axis to the right side. plot(x,y2); 接下来的修饰,应该都差不多了。