• matlab 绘图label字体


    x=0:0.25:2.25;
    % y=[90,85.33,80,87.27,92.23,96.21,100.22,103.90,105,106.25];
    % % b=[73.189,71.72,82.03,109.75,139.88,172.18,204.77,231];
    % %c=[68.82,78.43,80.35,90.42,124.55,145.93,180.277,226.108];
    % values = spcrv([[x(1) x x(end)];[y(1) y y(end)]],3);
    % plot(values(1,:),values(2,:), 'b');
    %两个门有引领无知识
    % a=[32.40,35.80793,38.64656,42.44709,48.76953,55.37183,65.59564,73.38764,81.75719];
    % %两个门原始社会力


    b=[1.35,1.28,1.21,1.07,0.9,0.76,0.65,0.56,0.46,0.38];
    y=[1.34,1.3,1.22,1.1,0.92,0.79,0.69,0.61,0.52,0.45];
    plot(x,y,'--ks','markerfacecolor','k','MarkerSize',6);
    hold on;
    plot(x,b,'-r^','markerfacecolor','r','MarkerSize',6);
    % plot(x,a,'--k');
    axis([0,2.5,0,1.4])
    set(gca,'XTick',[0:0.25:2.5]) %改变x轴坐标间隔显示 这里间隔为10
    set(gca,'YTick',[0:0.2:1.4]) %改变y轴坐标间隔显示 这里间隔为10
    % legend('Leaving time for 200 people',0);
    h1=xlabel('$$ ho[1/m^2]$$','FontSize',13);
    h2=ylabel('v$[m/s]$','FontSize',13);
    % set(gca,'FontSize',20);
    set(h1,'Interpreter','latex');
    set(h2,'Interpreter','latex')
    ---------------------

    原文:https://blog.csdn.net/u010681011/article/details/77840921
    版权声明:本文为博主原创文章,转载请附上博文链接!

  • 相关阅读:
    utf8编码和中文不能解码问题解决
    python环境的安装配置
    repo同一个仓的同一个changeId的提交
    Jenkins pipeline之将命令的运行结果赋值给变量
    repo和git常用的命令和场景
    docker 安装rabbitmq
    docker的一些概念
    mysql数据库sql优化原则
    数据库优化02
    MySQL数据库优化总结
  • 原文地址:https://www.cnblogs.com/caizhao/p/10901736.html
Copyright © 2020-2023  润新知