Monday, 11 May 2015

Scilab Plots : Background

The scilab plots by default come with a grey background which is just hateful. You need to go to the figure properties in order make it into white background. To make the background white as you plot, use the following code just after your plot command.

figure; plot(...);
f = gcf();
f.background = 8;

The number 8 corresponds to white. To know what other numbers correspond to, check the sliding bar in figure properties.



Peace.

3 comments:

  1. I'm not sure what you mean by "sliding bar in figure properties". Would you be kind to explain what those numbers mean?

    ReplyDelete
  2. hi, it works, but the legend stays in grey

    ReplyDelete