【问题标题】:octave graph background color changing八度图背景颜色变化
【发布时间】:2018-11-07 01:09:04
【问题描述】:

我需要在 Octave 中更改图形背景颜色。不知道该怎么做。

从这里:

到这里:

【问题讨论】:

    标签: octave


    【解决方案1】:
    X = 0:0.01:2*pi;
    Y = sin(X);
    f = figure('color', [0.2, 0.2, 0.2]);
    ax = axes();
    p = plot(X, Y, 'r')
    xlabel('time or sth', 'color', 'g')
    ylabel('value', 'color', 'b')
    grid on
    set(ax, 'color', 'k', 'ycolor', 'c', 'xcolor', 'g', 'gridlinestyle', '--', 'linewidth', 2, 'gridalpha', 0.5);
    

    【讨论】:

      猜你喜欢
      • 2017-04-14
      • 2021-10-02
      • 2014-09-14
      • 2021-02-13
      • 1970-01-01
      • 2017-12-10
      • 2021-11-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多