File:Sine with partial backgrounds.png
Summary
Description |
Français : Fonction sinus avec des zones ayant des couleurs de fond différentes.
English: Sine function, with zones having different background colours. |
Date | |
Source | http://mailinglists.scilab.org/Scilab-users-Plot-w-part-of-background-in-a-different-color-tp4033624p4033625.html |
Author | Samuel Gougeon |
Scilab source
Category:Images with Scilab codex = linspace(0, 10, 100);
clf
drawlater
plot(x, sin(x))
xgrid(color("grey70"))
xfpolys([2 5 5 2 ; 7 8.5 8.5 7]',[-1 -1 1 1 ; -1 -1 1 1]',..
[color("scilabpink") color("bisque")])
r = gca();
r.grid_position = "foreground";
r = r.children(1).children;
r.line_mode="off";
r(1).data(:, 3)=-1;
r(2).data(:, 3)=-1;
drawnow
Licensing
![]() |
This work is ineligible for copyright and therefore in the public domain because it consists entirely of information that is common property and contains no original authorship. |
The sine function is a simple mathematica shape. The picture was made to illustrate the possibility with Scilab to create zones with different background colour. It can be made by anyone using the source code.
Category:Scilab Category:Sine function