File:Sine with partial backgrounds.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Sine_with_partial_backgrounds.png(503 × 331 pixels, file size: 9 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

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

x = 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[edit]

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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current08:44, 7 March 2016Thumbnail for version as of 08:44, 7 March 2016503 × 331 (9 KB)Cdang (talk | contribs)User created page with UploadWizard

The following page uses this file:

File usage on other wikis

The following other wikis use this file: